Metadata-Version: 2.1
Name: nile-verifier
Version: 0.1.3
Summary: Nile plugin to verify smart contracts on starkscan.co
Home-page: https://github.com/martriay/nile-verifier-plugin
License: MIT
Keywords: cairo,nile
Author: Martín Triay
Author-email: martriay@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: cairo-nile (>=0.9.0,<0.10.0)
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: requests (>=2.28.1,<3.0.0)
Requires-Dist: yaspin (>=2.2.0,<3.0.0)
Project-URL: Repository, https://github.com/martriay/nile-verifier-plugin
Description-Content-Type: text/markdown

# ⛵️✅ Nile verifier plugin

Plugin for [Nile](https://github.com/OpenZeppelin/nile) to verify contracts on [starkscan.co](https://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.


