collateral
to create a basic HWR for an ERC20/ERC721 tokencollateralVault
to create a yield-bearing HWR for an ERC20 token that deposits into an existing ERC4626 vaultnative
to create a HWR for a native token (e.g. ether)collateral
, the address of the ERC20/ERC721 contract for which to create a routecollateralVault
, the address of the existing ERC4626 vault to deposit collateral intocollateral
for an ERC721 contract, set to true
.
warp-route-deployment.yaml
.
hyperlane warp deploy
command will create two new artifact files:
otherchain-yourchain-addresses.yaml
: Contains addresses for the newly deployed HWR contracts.otherchain-yourchain-config.yaml
: A config file for interacting with the HWR via the CLI and Warp UI.$HOME/.hyperlane/deployments/warp_routes/
.
--relay
flag is optional and will relay the message to the destination chain.
You can also run a relayer that delivers only for your HWR in the background with:
native
or collateral
HWR, you must select the origin where the route corresponding to where that native
or collateral
type is deployed. By default, the amount sent is 1
of the smallest unit of the token.
transferRemote
to transfer tokens to a specified recipient on a destination chain. Note that you’ll have to prompt for a token approval prior to calling transferRemote
.