-
Install required packages:
npm install
-
(If needed) Obtain tokens from the faucet: https://faucet.circle.com/
-
Set up a
.env
file based on.env.example
, filling in theMNEMONIC
andETH_MINT_RECIPIENT
fields:MNEMONIC="word1 word2..." ETH_MINT_RECIPIENT=0x...
-
Run the depositForBurn script:
npm run depositForBurn
The Noble testnet -> ETH Sepolia CCTP relayer should pick up these messages automatically. To avoid these being automatically picked up, all references to MsgDepositForBurn
can be changed to MsgDepositForBurnWithCaller
and a destinationCaller
field should be added to msg.value
below line 70.
-
Install required packages:
npm install
-
Initiate a
DepositForBurnWithCaller
from ETH to Noble. If a regularDepositForBurn
call is made, the relayer will automatically receive the message on Noble. -
Fetch the attestation and message from Iris at https://iris-api-sandbox.circle.com/messages/{sourceDomain}/{txHash}.
-
Set up a
.env
file based on.env.example
, filling in theMNEMONIC
,ATTESTATION
, andMESSAGE_HEX
fields:MNEMONIC="word1 word2..." ATTESTATION=0x... MESSAGE_HEX=0x
-
Run the receiveMessage script:
npm run receiveMessage