22cb3f0868 | ||
---|---|---|
.. | ||
contracts | ||
migrations | ||
scripts | ||
test | ||
.env.devnet | ||
.env.mainnet | ||
.env.testnet | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
package-lock.json | ||
package.json | ||
truffle-config.js |
README.md
Wormhole Receiver
This contract can be used to receive Wormhole messages on chains that don't have a core bridge contract deployed.
This is intended to be an unofficial light client simply to parse and verify wormhole messages. It has no chain id and no directed governance. The only governance it accepts is guardian set upgrades.
Deploy
npm ci
cp .env.mainnet .env
MNEMONIC="[YOUR_KEY_HERE]" npm run migrate -- --network [NETWORK_KEY_FROM_TRUFFLE_CONFIG]
MNEMONIC="[YOUR_KEY_HERE]" npm run submit-guardian-sets -- --network [NETWORK_KEY_FROM_TRUFFLE_CONFIG]