Skip to content

Commit 817397d

Browse files
walkerqkevin-pv01
andauthored
Update testnet addresses from Goerli to Sepolia (#35)
Updates Goerli references to Sepolia, now that CCTP has migrated. Manually tested that the example script still works: - depositForBurn: https://sepolia.etherscan.io/tx/0x5ed89c2b0938d24f401d5c290a63b66a60cee27f625b054b667d84cd43c7c4b6 - receiveMessage: https://testnet.snowtrace.io/tx/0x8b2144fa5c4292f7e9c27f2dde8f8b8fb38d693b27a22641ef37ca2ce98554cc?chainId=43113 --------- Co-authored-by: kevin-pv01 <134313281+kevin-pv01@users.noreply.github.com>
1 parent 1662356 commit 817397d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The script has 5 steps:
2828
const approveTx = await usdcEthContract.methods.approve(ETH_TOKEN_MESSENGER_CONTRACT_ADDRESS, amount).send({gas: approveTxGas})
2929
```
3030

31-
2. Second step executes `depositForBurn` function on `TokenMessengerContract` deployed in [Goerli testnet](https://goerli.etherscan.io/address/0xd0c3da58f55358142b8d3e06c1c30c5c6114efe8)
31+
2. Second step executes `depositForBurn` function on `TokenMessengerContract` deployed in [Sepolia testnet](https://sepolia.etherscan.io/address/0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5)
3232
```js
3333
const burnTx = await ethTokenMessengerContract.methods.depositForBurn(amount, AVAX_DESTINATION_DOMAIN, destinationAddressInBytes32, USDC_ETH_CONTRACT_ADDRESS).send();
3434
```
@@ -52,7 +52,7 @@ The script has 5 steps:
5252
}
5353
```
5454
55-
5. Last step calls `receiveMessage` function on `TokenMessengerContract` deployed in [Avalanche Fuji Network](https://testnet.snowtrace.io/address/0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79) to receive USDC at AVAX address.
55+
5. Last step calls `receiveMessage` function on `MessageTransmitterContract` deployed in [Avalanche Fuji Network](https://testnet.snowtrace.io/address/0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79) to receive USDC at AVAX address.
5656
5757
*Note: The attestation service is rate-limited, please limit your requests to less than 1 per second.*
5858
```js

docs/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ const main = async() => {
2727
web3.eth.accounts.wallet.add(avaxSigner);
2828

2929
// Testnet Contract Addresses
30-
const ETH_TOKEN_MESSENGER_CONTRACT_ADDRESS = "0xd0c3da58f55358142b8d3e06c1c30c5c6114efe8";
31-
const USDC_ETH_CONTRACT_ADDRESS = "0x07865c6e87b9f70255377e024ace6630c1eaa37f";
32-
const ETH_MESSAGE_CONTRACT_ADDRESS = "0x1a9695e9dbdb443f4b20e3e4ce87c8d963fda34f"
30+
const ETH_TOKEN_MESSENGER_CONTRACT_ADDRESS = '0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5';
31+
const USDC_ETH_CONTRACT_ADDRESS = '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238';
32+
const ETH_MESSAGE_CONTRACT_ADDRESS = '0x80537e4e8bab73d21096baa3a8c813b45ca0b7c9';
3333
const AVAX_MESSAGE_TRANSMITTER_CONTRACT_ADDRESS = '0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79';
3434

3535
// initialize contracts using address and ABI

0 commit comments

Comments
 (0)