RPC Providers
Manage RPC providers for Hyperlane supported chains in one place
MultiProvider
is a utility used throughout the Hyperlane Application SDK. In essence, it is a mapping that resolves a chain namespace to a configured node (JSON RPC) provider.
Configure
To configure and create your MultiProvider
, create ethers.js-compatible providers and optionally specify a block confirmation threshold:
Interact
MultiProvider
allows, for example, an application to have static node provisioning per target chain and register a user's signer for the duration of a session.
Test
For use in tests, the Hardhat signer
can be used to emulate a multichain system locally. The chains shown (test1
, test2
, test3
) are included for convenience.
Last updated