SDK Docs
Many applications using wormhole may require a frontend to interact with the underlying smart contracts.
Wormhole provides an SDK with utilities for developers that includes:
- Tools for parsing VAAs and other Wormhole structures.
- Methods for interacting with the Token and NFT bridges.
- Methods for submitting messages and parsing Wormhole contract output.
The SDK can be installed using npm:
npm i @certusone/wormhole-sdk
These RPC nodes are maintained by the Guardians to help fetch VAAs and query the Wormhole network.
const MAINNET_GUARDIAN_RPC: string[] = [
"https://wormhole-v2-mainnet-api.certus.one",
"https://wormhole.inotel.ro"
"https://wormhole-v2-mainnet-api.mcf.rocks",
"https://wormhole-v2-mainnet-api.chainlayer.network",
"https://wormhole-v2-mainnet-api.staking.fund",
"https://wormhole-v2-mainnet.01node.com",
]
const TESTNET_GUARDIAN_RPC: string[] = [
"https://wormhole-v2-testnet-api.certus.one",
]
const TESTNET_GUARDIAN_PUBKEY: string = "0x13947Bd48b18E53fdAeEe77F3473391aC727C638"
Last modified 3mo ago