Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

refactor(experimental): add constants to web3.js sham #1862

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/library-legacy-sham/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +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;
Loading