StarkNet/Cairo development toolbelt
Project description
⛵ Nile
Navigate your StarkNet projects written in Cairo.
Insatallation
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
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
cairo-nile-0.0.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for cairo_nile-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdc07663310b3f5922e17b6ad51c29b0191a928e350d4d1e66cb77fe5c6c660f |
|
MD5 | e82ff6cc7d338efd135012efae0e5b01 |
|
BLAKE2b-256 | 2491edf11a889c04a894b6c5cd4ebe3eded7c60f82ef4192451d123ff1c0483e |