Specifying an ISM
Customize interchain security using ISMs
Developers can take control of interchain security using Interchain security modules.
Interchain Security Modules
An Interchain Security Module (ISM) is a smart contract that is responsible for verifying messages from a remote chain. ISMs must implement the IInterchainSecurityModule
interface.
To specify the ISM they would like to use, developers may implement the ISpecifiesInterchainSecurityModule
interface in any contract that receives interchain messages.
If no ISM is specified, or if the specified ISM is the null address, whatever ISM is configured as the default on the destination chain Mailbox
will be used.
See Message.sol
for more details on Hyperlane message encoding.
Last updated