Web3Networks.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. export class Web3Networks {
  2. public static kaia = {
  3. id: 8217,
  4. caipNetworkId: "eip155:8217",
  5. chainNamespace: "eip155",
  6. name: "Kaia Network",
  7. nativeCurrency: {
  8. decimals: 18,
  9. name: "KAIA",
  10. symbol: "KAIA",
  11. },
  12. rpcUrls: {
  13. default: {
  14. // http: ['https://base-mainnet.infura.io/v3/8b5fd173c8bc4e90996d80212cfc2b06'],
  15. http: ["https://public-en.node.kaia.io"],
  16. },
  17. public: {
  18. http: ["https://public-en.node.kaia.io"], // The RPC URL provided
  19. },
  20. },
  21. contracts: {
  22. // Address for the standard Multicall3 contract for batching read calls
  23. multicall3: {
  24. address: "0xca11bde05977b3631167028862be2a173976ca11",
  25. // blockCreated: Optional - the block number when multicall3 was deployed,
  26. // often not strictly needed but good practice if known.
  27. // You might need to find this on the explorer if you want to include it.
  28. },
  29. },
  30. };
  31. public static base = {
  32. id: 8453,
  33. caipNetworkId: "eip155:8453",
  34. chainNamespace: "eip155",
  35. name: "Base",
  36. nativeCurrency: {
  37. decimals: 18,
  38. name: "Ether",
  39. symbol: "ETH",
  40. },
  41. rpcUrls: {
  42. default: {
  43. // http: ['https://base-mainnet.infura.io/v3/8b5fd173c8bc4e90996d80212cfc2b06'],
  44. http: [
  45. "https://base-mainnet.infura.io/v3/8b5fd173c8bc4e90996d80212cfc2b06",
  46. ],
  47. },
  48. },
  49. };
  50. }