diff --git a/src/factory/config.ts b/src/factory/config.ts index 547897a..112d4d4 100644 --- a/src/factory/config.ts +++ b/src/factory/config.ts @@ -39,9 +39,7 @@ export namespace ChainFactoryConfigs { }, tonParams:{ addressBook: Address.parse("EQB_pf7BP7jobq2QEbhVsXxU4pGsQVdqx-X5F8YU4jGlyCIQ"), - rpcs: [ - "https://toncenter.com/api/v2/jsonRPC?api_key=a0b875b16d9045fed8cee2ad6ee7733990afd045a6e2fbb50708186c9f6decb0", - ], + rpcs: MainnetRPCUri.TON, nativeTokenId: BigInt(`0x${sha256_sync("TON").toString("hex")}`), chainId: 65534n, // TON Mainnet chainName: "ton", diff --git a/src/factory/rpcs.ts b/src/factory/rpcs.ts index 5e48908..5b9c764 100644 --- a/src/factory/rpcs.ts +++ b/src/factory/rpcs.ts @@ -1,4 +1,6 @@ const AL_KEY: string = "sXEn3HrcMdXyp-UJApfoDmDDA5KSuZKJ"; +const TATUM: string = "t-67589fecd04074ce31f008a6-4f245e464661445caaea26d0"; + export const MainnetRPCUri = { @@ -31,12 +33,22 @@ export const MainnetRPCUri = { `https://polygon-mainnet.g.alchemy.com/v2/${AL_KEY}`, "https://solitary-maximum-friday.matic.quiknode.pro/08a337d30e47f0883134773e941aa12a9069c079", "https://polygon-rpc.com", + "https://polygon-mainnet.g.allthatnode.com/full/evm/e95e54a182194638b7ba5f4598270b44", // "https://polygon-bor-rpc.publicnode.com", // "https://1rpc.io/matic", // "https://rpc.ankr.com/polygon", // "https://polygon.drpc.org" // "https://polygon.blockpi.network/v1/rpc/public", - ] + ], + TON: [ + "https://toncenter.com/api/v2/jsonRPC?api_key=a0b875b16d9045fed8cee2ad6ee7733990afd045a6e2fbb50708186c9f6decb0", + "https://go.getblock.io/9cbe9ae971fb4d6e93cd2003075c63e0", + "https://go.getblock.io/690db4c466e7410e9a6746f873ae9fa2", + "https://go.getblock.io/685d2dcf891741da97c007a54972bede", + "https://ton-mainnet.core.chainstack.com/5100b867ed6644ea5e9c5e689baaf6fb/api/v3", + "https://toncenter.com/api/v2/jsonRPC", + "https://ton-mainnet.gateway.tatum.io", + ], } as const;