logoAcademy

Create the Sender Contract

Deploy roundtrip sender contract

Go ahead and deploy the sender contract on the C-Chain.

Adapt the Sender Contract

Perform the changes described in the previous section.

Don't forget to replace the destinationBlockchainID with the one from your Avalanche L1!

Deploy the Sender Contract

forge create --rpc-url local-c --private-key $PK src/1-send-roundtrip/senderOnCChain.sol:SenderOnCChain

Update the Sender Address

Then overwrite the sender contract address in the environment variable issue the following command with the new address:

export SENDER_ADDRESS="0x123..."
Updated:

On this page

Edit on Github