x/core
core
module is intended to implement the fundamental functionalities of the Hyperlane protocol to dispatch and process messages, which can then be used by applications like warp
. It includes mailboxes and registers hooks that are implemented in the submodules.
default
or required
hooks like IGP
or MerkleTreeHook
PostDispatch
hooks
dispatch()
process()
01_interchain_security
MessageIdMultisig
, MerkleRootMultisig
, and Noop
.
MultisigIsm
m
of n
validators have signed the validity of a messageMessageIdMultisig
→ censorship-friendly, minimizes gasMerkleRootMultisig
→ censorship resistance guaranteeverify()
02_post_dispatch
InterchainGasPaymaster
or MerkleTreeHook
. The modular design allows developers to easily add custom PostDispatch hook implementations.
InterchainGasPaymaster
DestinationGasConfig
is used to determine the correct InterchainGasPayment
postDispatch()
payForGas()
claim()
MerkleTreeHook
MessageIdMultisig
and MerkleRootMultisig
ISMs
postDispatch()
InsertedIntoTree()
(event)x/warp
warp
builds on-top of the core functionality by enabling token creation and cross-chain transfers between chains already connected via Hyperlane. These tokens leverage modular security through specific ISMs.
createToken()
remoteTransfer()
enrollRemoteRouter()
Dispatch()
Process()
denom
for gas payments has to be specified. Similarly, there there is no NativeCollateralToken
.