logoAcademy

Deploy a Home Contract

Deploy the Token Home on utility chain

We will deploy two Dijets Interchain Token Transfer contracts. One of the source chain (which is utility chain in our case) and another on the destination chain (mydijetschain in our case).

Deploy ERC20Home Contract

forge create --rpc-url local-c --private-key $PK lib/dijets-interchain-token-transfer/contracts/src/TokenHome/ERC20TokenHome.sol:ERC20TokenHome --constructor-args $JUMPER_REGISTRY_UTILITY_CHAIN $FUNDED_ADDRESS $ERC20_C_CHAIN 18

Save the ERC-20 Home Address

export ERC20_HOME_C_CHAIN=<"Deployed to" address>

On this page