Exports TON network constants and defaults for TVM interactions.
// Source: https://github.com/x402-foundation/x402 | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. export const SCHEME_EXACT = "exact"; export const TVM_MAINNET = "tvm:-239"; export const TVM_TESTNET = "tvm:-3"; export const SUPPORTED_NETWORKS = new Set([TVM_MAINNET, TVM_TESTNET]); export const DEFAULT_DECIMALS = 6; export const USDT_DECIMALS = DEFAULT_DECIMALS; export const DEFAULT_MAX_TIMEOUT_SECONDS = 300; export const DEFAULT_W5R1_SUBWALLET_NUMBER = 0; export const DEFAULT_HIGHLOAD_SUBWALLET_ID = 0x10ad; export const DEFAULT_HIGHLOAD_TIMEOUT = 3600; export const DEFAULT_RELAY_AMOUNT = 40_000_000n; export const DEFAULT_JETTON_WALLET_MESSAGE_AMOUNT = 30_000_000n; export const ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key