mainnet_consts.go 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package common
  2. import "github.com/certusone/wormhole/node/pkg/vaa"
  3. // PublicRPCEndpoints is a list of known public RPC endpoints for mainnet, operated by
  4. // Wormhole guardian nodes.
  5. //
  6. // This list is duplicated a couple times across the codebase - make to to update all copies!
  7. //
  8. var PublicRPCEndpoints = []string{
  9. "https://wormhole-v2-mainnet-api.certus.one",
  10. "https://wormhole.inotel.ro",
  11. "https://wormhole-v2-mainnet-api.mcf.rocks",
  12. "https://wormhole-v2-mainnet-api.chainlayer.network",
  13. "https://wormhole-v2-mainnet-api.staking.fund",
  14. "https://wormhole-v2-mainnet.01node.com",
  15. }
  16. // KnownEmitters is a list of well-known mainnet emitters we want to take into account
  17. // when iterating over all emitters - like for finding and repairing missing messages.
  18. //
  19. // Wormhole is not permissioned - anyone can use it. Adding contracts to this list is
  20. // entirely optional and at the core team's discretion.
  21. //
  22. var KnownEmitters = []struct {
  23. ChainID vaa.ChainID
  24. Emitter string
  25. }{
  26. {vaa.ChainIDSolana, "ec7372995d5cc8732397fb0ad35c0121e0eaa90d26f828a534cab54391b3a4f5"}, // 1 Solana Token Bridge
  27. {vaa.ChainIDSolana, "0def15a24423e1edd1a5ab16f557b9060303ddbab8c803d2ee48f4b78a1cfd6b"}, // 1 Solana NFT Bridge
  28. {vaa.ChainIDEthereum, "0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585"}, // 2 Eth Token Bridge
  29. {vaa.ChainIDEthereum, "0000000000000000000000006ffd7ede62328b3af38fcd61461bbfc52f5651fe"}, // 2 Eth NFT Bridge
  30. {vaa.ChainIDTerra, "0000000000000000000000007cf7b764e38a0a5e967972c1df77d432510564e2"}, // 3 Terra Token Bridge
  31. {vaa.ChainIDBSC, "000000000000000000000000b6f6d86a8f9879a9c87f643768d9efc38c1da6e7"}, // 4 BSC Token Bridge
  32. {vaa.ChainIDBSC, "0000000000000000000000005a58505a96d1dbf8df91cb21b54419fc36e93fde"}, // 4 BSC NFT Bridge
  33. {vaa.ChainIDPolygon, "0000000000000000000000005a58505a96d1dbf8df91cb21b54419fc36e93fde"}, // 5 Polygon Token Bridge
  34. {vaa.ChainIDPolygon, "00000000000000000000000090bbd86a6fe93d3bc3ed6335935447e75fab7fcf"}, // 5 Polygon NFT Bridge
  35. {vaa.ChainIDAvalanche, "0000000000000000000000000e082f06ff657d94310cb8ce8b0d9a04541d8052"}, // 6 Avalanche Token Bridge
  36. {vaa.ChainIDAvalanche, "000000000000000000000000f7b6737ca9c4e08ae573f75a97b73d7a813f5de5"}, // 6 Avalanche NFT Bridge
  37. {vaa.ChainIDOasis, "0000000000000000000000005848c791e09901b40a9ef749f2a6735b418d7564"}, // 7 Oasis Token Bridge
  38. {vaa.ChainIDOasis, "00000000000000000000000004952d522ff217f40b5ef3cbf659eca7b952a6c1"}, // 7 Oasis NFT Bridge
  39. }