logoAcademy

Create the Receiver Contract

Deploy roundtrip receiver contract

Go ahead and deploy the receiver contract:

Adapt the Sender Contract

Perform the changes described in the previous section.

Deploy the Receiver Contract

forge create --rpc-url myblockchain --private-key $PK src/1-send-roundtrip/receiverOnAvalanche L1.sol:ReceiverOnAvalanche L1

Update the Receiver Address

Then save the receiver contract address in an environment variable:

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

On this page

Edit on Github