voyager-verifier icon indicating copy to clipboard operation
voyager-verifier copied to clipboard

CLI to verify your starknet contracts classes on block explorers!

voyager-verifier

Contract class verification tool for the Voyager Starknet block explorer.

Documentation

Quick Start

Installation

With asdf (Recommended):

asdf plugin add voyager https://github.com/NethermindEth/asdf-voyager-verifier.git
asdf install voyager latest

With Cargo:

cargo install voyager-verifier

Basic Usage

Interactive wizard (recommended for first-time users):

voyager verify --wizard

Command-line mode:

voyager verify --network mainnet \
  --class-hash <YOUR_CLASS_HASH> \
  --contract-name <CONTRACT_NAME>

Batch verification:

# Define contracts in .voyager.toml, then:
voyager verify

Documentation

For comprehensive documentation, visit the official docs which includes:

Development

Building from Source

git clone https://github.com/NethermindEth/voyager-verifier.git
cd voyager-verifier
cargo build --release

Running Tests

cargo test

Building Documentation

cd docs
mdbook serve
# Visit http://localhost:3000

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.