diff --git a/packages/library-legacy-sham/src/index.ts b/packages/library-legacy-sham/src/index.ts index 6a5585569d0e..8060ec795043 100644 --- a/packages/library-legacy-sham/src/index.ts +++ b/packages/library-legacy-sham/src/index.ts @@ -1,4 +1,9 @@ export * from './public-key'; export const LAMPORTS_PER_SOL = 1_000_000_000; +export const MAX_SEED_LENGTH = 32; +export const NONCE_ACCOUNT_LENGTH = 80; +export const PACKET_DATA_SIZE = 1280 - 40 - 8; +export const PUBLIC_KEY_LENGTH = 32; export const SIGNATURE_LENGTH_IN_BYTES = 64; +export const VERSION_PREFIX_MASK = 0x7f;