Skip to main content

Nile plugin to verify smart contracts on starkscan.co

Project description

⛵️✅ Nile verifier plugin

Plugin for Nile to verify contracts on starkscan.co.

Installation

pip install nile-verifier

Usage

nile verify CONTRACT_PATH --network NETWORK

For example:

$ nile verify contracts/uwu.cairo --network goerli
🔎 Verifying uwu on goerli...
✅ Success! https://testnet.starkscan.co/class/0x226718449b40fa299d718eb50f72af707f2210e540e11a830c2ad72a235d5e0#code

Note that the contract has to be deployed, or the verification will fail

$ nile verify contracts/uwu.cairo --network goerli
❌ Could not find any contract with hash 0x226718449b40fa299d718eb50f72af707f2210e540e11a830c2ad72a235d5e0
🤔 Are you sure you deployed to goerli?

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nile-verifier-0.1.4.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

nile_verifier-0.1.4-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page