StarkNet/Cairo development toolbelt
Project description
⛵ Nile
Navigate your StarkNet projects written in Cairo.
Installation
pip install cairo-nile
Usage
Install Cairo
Use nile to install a given version of the Cairo language. Given Cairo's fast development pace, this command is useful to install the latest version.
nile install 0.4.0
Compile
Compile Cairo contracts. Compilation articacts are written into the artifacts/ directory.
nile compile # compiles all contracts under contracts/
nile compile contracts/MyContract.cairo # compiles single contract
Example output:
$ nile compile
Creating artifacts/abis/ to store compilation artifacts
🤖 Compiling all Cairo contracts in the contracts/ directory
🔨 Compiling contracts/Account.cairo
🔨 Compiling contracts/Initializable.cairo
🔨 Compiling contracts/Ownable.cairo
✅ Done
Clean
Deletes the artifacts/ directory for a fresh start ❄️
nile clean
Hacking on Nile
Nile uses tox to manage development tasks, you can get a list of
available task with tox -av.
- Install a development version of the package with
python -m pip install . - Run tests with
tox - Build the package with
tox -e build - Format all files with
tox -e format - Check files formatting with
tox -e lint
License
Nile is released under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cairo-nile-0.0.9.tar.gz.
File metadata
- Download URL: cairo-nile-0.0.9.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df63c83f13f50ffcb4730e5cfc77ee888dfabf4d07e4c726880a8300266366a6
|
|
| MD5 |
3cb9bc47694cd27f1ed77c1ca09426f0
|
|
| BLAKE2b-256 |
8252ac06171a1f26518163f143b9c9e3f270b6c8625f16b90dbdc35b59b27477
|
File details
Details for the file cairo_nile-0.0.9-py3-none-any.whl.
File metadata
- Download URL: cairo_nile-0.0.9-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43bc0322559694d79d1d01545d54f95549df72a833df10e88b0ba2a5988eb586
|
|
| MD5 |
070ab48cd7123aab16567920f1b6fdad
|
|
| BLAKE2b-256 |
90d184084df207927b70a68bcf12aac170dc186be6e4e0b6807d5cf61c22c2d4
|