2fc2bb577b
* fix typo in whitepapers/0013_ccq.md * fix typo in scripts/ * fix typo in clients * fix typo in sdk/ * fix typo in testing/ |
||
---|---|---|
.. | ||
contracts | ||
scripts | ||
src | ||
.gitignore | ||
README.md | ||
jestconfig.json | ||
package-lock.json | ||
package.json | ||
truffle-config.js | ||
tsconfig.json |
README.md
PublishMsg Contract
This is a simple contract that can be used to generate wormhole messages in testnet. It can be used to test the guardian watcher.
Deployment
- Make sure the chain is populated in truffle-config.js.
- npm ci
- npm run build
- MNEMONIC="" TESTNET_WORMHOLE_CORE_ADDRESS="0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35" npm run truffle -- exec scripts/deploy_publish_msg.js --network neon_testnet
- Make note of the value returned as "PublishMsg address", it will be used as PUBLISH_MSG_ADDRESS to run the tool.
Generating a test message
- MNEMONIC="" TESTNET_RPC="https://proxy.devnet.neonlabs.org/solana" PUBLISH_MSG_ADDRESS="0x95F81502b6DafbF1aAdac5400814f976d119B520" CONSISTENCY_LEVEL=200 node src/publishMsg.js