xdapp-book/src/technical/env/tooling.md

2.7 KiB

Tooling

Regardless of the development environment that you use, there are a few wormhole-specific tools you should know about.

Wormhole Core Repository

  • Most developers find it useful to clone the Wormhole Core repository. This repository provides the Devnet Tilt environment, plenty of useful code examples and tests, along with some utilities which do not have an official release package.

Worm CLI tool

  • Swiss-Army Knife Utility CLI tool. Excellent for creating one-off VAAs, parsing VAAs, reading Wormhole contract configurations, and more.

Orchestrator

  • Small WIP tool which comes as part of the Wormhole Local Validator environment. Used to quickly deploy and redeploy multiple smart contracts. Will eventually become part of a larger deployment management tool.

Wormhole SDKs

  • Libraries in various languages to help with interacting with Wormhole contracts.

Wormhole Typescript SDK

  • Typescript SDK destributed on npm. Can greatly aid in writing frontend code for xDapps and utilizing the Wormhole Token Bridge directly.

Wormhole Spy SDK

  • The Wormhole Spy SDK allows you to listen to all of the activity on the Guardian Network.

Reference Bridge UI

  • An example GUI which can be used to perform token transfers around the ecosystem.

Explorer

  • Resource for looking at individual transfers statuses on mainnet and testnet.

Example Projects

Basic Examples

  • Several example projects are bundled here. They show minimum-code examples for how to send messages, tokens, and other common functions.

ICCO

  • Productionized, audited xDapp which does cross-chain token launches. Great example of what a robust xDapp, written across multiple ecosystems looks like.

Native Swap

  • Example cross-chain dex, utilizing the stablecoin highway model.

Wormhole Examples

  • More example components. Has a mix of relayers, xDapps, NFT projects, and more.