Development Environment
Last updated
Was this helpful?
Last updated
Was this helpful?
Developers building for smart contract integration will want to get a development environment setup to allow testing the full integration, possibly including VAA generation and relaying.
The should be installed regardless of environments chosen.
Each environment has its own set of recommended tools. To begin working with a specific environment, see the recommended tools on its
Different approaches to development and testing are recommended at different stages of application development.
During initial development of an on-chain application, the best option is to use the native tools available in the environment.
For any methods the program that require some message be sent or received, it's recommended to set up some Mock Guardian or Emitter to provide signed VAAs.
This approach allows for more rapid prototyping and iteration without waiting for, or debugging issues related to, Wormhole.
For integration to Wormhole and with multiple chains, the simplest option is to use the chains' testnets.
The variation in host environments causing unique issues and the computational intensity of multiple simultaneous local validators can make it difficult or time consuming to setup. Prefer testnets for the simplest integration testing.
Once you've finished initial development of the application and performed integration testing, you may want to set up some CI test environment.
If you'd like to set up a local validator environment, follow the setup guide for Tilt.
A full-fledged Kubernetes deployment of every chain connected to Wormhole, along with a Guardian node. Usually takes 30 min to spin up fully, but comes with all chains running out of the box.
When doing integration testing on testnets, keep in mind that there is a single Guardian node watching for transactions on various test networks. Because testnet only has a single Guardian, there's a small chance that your VAAs will not be processed. This rate is not indicative of performance on mainnet, where there are 19 Guardians watching for transactions.
Find links for testnet faucets in the
A developer may prefer standing up a set of local validators instead of using the testnet. For this option, is available to run local instances of all the chains Wormhole supports.
For that, the best option is likely to be since it allows you to spin up any of the chains supported by Wormhole in a consistent environment.
The testnet contract addresses are available on the page for the each .
The testnet Guardian RPC configuration is available on the .
The mainnet contract addresses are available on the page for each .
The mainnet Guardian RPC configuration is available on the .