Run a Cannon Package

Run a package from the explorer on a local node in seconds

Install Foundry if you haven’t already.

curl -L | bash

Install Cannon’s command-line interface.

npm install -g @usecannon/cli

Run any package from the explorer with a Cannon deployment. This will start an Anvil node with a deployment of Synthetix V3 for local testing and development. For example, run a development version of Synthetix’s Andromeda deployment:

cannon synthetix-omnibus@andromeda

Export the contract addresses and ABIs as a folder of JSON files. For example:

cannon inspect synthetix-omnibus@andromeda --write-deployments ./deployments

The command-line tool has a lot of additional functionality, including the ability to run packages on local forks and interact with deployments on remote networks. Learn more

Next, build a protocol and add your own package to the registry.

Supported byOptimismandSafe