import { Commitment , PublicKey } from '@solana/web3.js' ; import { ClusterType } from '@identity.com/sol-did-client' ; const PROD_PROGRAM_ID = 'boxndjnzQZEWbBku3YipL4pchYRc1zi4nNSrFUwawWo' ; const DEV_PROGRAM_ID = 'dbo6b6DDmWTWpLcZM5SoVEf9X8DSJYPjVfD3Ptz6hod' ; export const STAGE = process . env . REACT_APP_STAGE || process . env . NODE_ENV ; export const PROGRAM_ID = STAGE === 'development' ? new PublicKey ( DEV_PROGRAM_ID ) : new PublicKey ( PROD_PROGRAM_ID ) ; export const SOLANA_COMMITMENT = 'single' ; export const CEK_ACCOUNT_NONCE_SEED_STRING = 'solarium_cek_account' ; export const CHANNEL_NONCE_SEED_STRING = 'solarium_channel' ; export const USER_DETAILS_ACCOUNT_NONCE_SEED_STRING = 'solarium_userdetails_account' ; export const DEFAULT_CLUSTER = ClusterType . development ( ) ; export const MESSAGE_SIZE_BYTES = 512 ; export const DEFAULT_MAX_MESSAGE_COUNT = 8 ; export const DEFAULT_USER_DETAILS_SIZE = 512 ;