From 46217299cecdbdb995412b099eda15d58f636d1f Mon Sep 17 00:00:00 2001 From: Kai Hirota <34954529+kaihirota@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:16:03 +1000 Subject: [PATCH 1/2] replace contract addresses and chainID --- imx/interface.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imx/interface.go b/imx/interface.go index 76b7c55..66df2de 100644 --- a/imx/interface.go +++ b/imx/interface.go @@ -12,10 +12,10 @@ import ( var ( Sandbox = Environment{ BaseAPIPath: "https://api.sandbox.x.immutable.com", - EthereumRPC: "https://eth-goerli.alchemyapi.io/v2/", - RegistrationContractAddress: "0x1C97Ada273C9A52253f463042f29117090Cd7D83", - CoreContractAddress: "0x7917eDb51ecD6CdB3F9854c3cc593F33de10c623", - ChainID: big.NewInt(5), // Goƫrli + EthereumRPC: "https://eth-sepolia.alchemyapi.io/v2/", + RegistrationContractAddress: "0xDbA6129C02E69405622fAdc3d5A7f8d23eac3b97", + CoreContractAddress: "0x2d5C349fD8464DA06a3f90b4B0E9195F3d1b7F98", + ChainID: big.NewInt(11155111), // Sepolia } Mainnet = Environment{ BaseAPIPath: "https://api.x.immutable.com", From 1f75b65324960f04fb7f60b09384c85f05194ce1 Mon Sep 17 00:00:00 2001 From: Kai Hirota <34954529+kaihirota@users.noreply.github.com> Date: Mon, 23 Oct 2023 11:29:58 +1100 Subject: [PATCH 2/2] update alchemy endpoint --- imx/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imx/interface.go b/imx/interface.go index 66df2de..cb31656 100644 --- a/imx/interface.go +++ b/imx/interface.go @@ -12,7 +12,7 @@ import ( var ( Sandbox = Environment{ BaseAPIPath: "https://api.sandbox.x.immutable.com", - EthereumRPC: "https://eth-sepolia.alchemyapi.io/v2/", + EthereumRPC: "https://eth-sepolia.g.alchemy.com/v2/", RegistrationContractAddress: "0xDbA6129C02E69405622fAdc3d5A7f8d23eac3b97", CoreContractAddress: "0x2d5C349fD8464DA06a3f90b4B0E9195F3d1b7F98", ChainID: big.NewInt(11155111), // Sepolia