diff --git a/identity/registry/chains.go b/identity/registry/chains.go index 1284eb0d6e..1bd731d9f0 100644 --- a/identity/registry/chains.go +++ b/identity/registry/chains.go @@ -24,5 +24,6 @@ func Chains() map[int64]string { 5: "Ethereum Testnet Görli", 137: "Polygon Mainnet", 80001: "Polygon Testnet Mumbai", + 80002: "Polygon Testnet Amoy", } } diff --git a/metadata/network.go b/metadata/network.go index d0c641059a..5893393be3 100644 --- a/metadata/network.go +++ b/metadata/network.go @@ -147,16 +147,16 @@ var TestnetDefinition = NetworkDefinition{ }, }, Chain2: ChainDefinition{ - RegistryAddress: "0x1ba2DF26371E83D87Afee2F27a42f5A7FE9e5219", - ChannelImplAddress: "0x6FE3E5e5008e49821BF7282870eC831BA9694dDB", - HermesID: "0xcAeF9A6E9C2d9C0Ee3333529922c280580365b51", - ChainID: 80001, - MystAddress: "0xB923b52b60E247E34f9afE6B3fa5aCcBAea829E8", + RegistryAddress: "0x935305eBD48264E72067c242231b9c1638f8722c", + ChannelImplAddress: "0xA7D2b4834e059720b18EAfa56Fc076622a6d6275", + HermesID: "0xf1e8f60009005cc760c8e96fb3cabd992f9004e6", + ChainID: 80002, + MystAddress: "0x5B75A099da7533CC800e77eeAEc3409c12420A15", EtherClientRPC: []string{ - "https://polygon-mumbai1.mysterium.network", + "https://polygon-amoy1.mysterium.network", }, KnownHermeses: []string{ - "0xcAeF9A6E9C2d9C0Ee3333529922c280580365b51", + "0xf1e8f60009005cc760c8e96fb3cabd992f9004e6", }, }, MMNAddress: "https://my.mystnodes.com", @@ -168,7 +168,7 @@ var TestnetDefinition = NetworkDefinition{ "broker.mysterium.network": {"51.158.204.30", "51.158.204.75", "51.158.204.9", "51.158.204.23"}, "affiliator.mysterium.network": {"51.158.204.30", "51.158.204.75", "51.158.204.9", "51.158.204.23"}, }, - DefaultChainID: 80001, + DefaultChainID: 80002, DefaultCurrency: "MYST", LocationAddress: "https://location.mysterium.network/api/v1/location", Payments: Payments{ diff --git a/session/pingpong/hermes_promise_settler.go b/session/pingpong/hermes_promise_settler.go index fa718d9fb1..425fd7f47c 100644 --- a/session/pingpong/hermes_promise_settler.go +++ b/session/pingpong/hermes_promise_settler.go @@ -1411,6 +1411,8 @@ func formTXUrl(txHash string, chainID int64) (string, error) { return fmt.Sprintf("https://goerli.etherscan.io/tx/%v", txHash), nil case 80001: return fmt.Sprintf("https://mumbai.polygonscan.com/tx/%v", txHash), nil + case 80002: + return fmt.Sprintf("https://amoy.polygonscan.com/tx/%v", txHash), nil case 137: return fmt.Sprintf("https://polygonscan.com/tx/%v", txHash), nil default: