Skip to main content

StarkNet/Cairo development toolbelt

Project description

OpenZeppelin | Nile ⛵

Docs Tests and linter

Navigate your StarkNet projects written in Cairo.

Overview

Nile is a CLI tool to develop or interact with StarkNet projects written in Cairo. It consists of different components for developing, compiling, testing, and deploying your smart contracts and dApps, providing a CLI for executing tasks, and a Runtime Environment (NRE) for scripting. The package is designed to be extensible and very customizable by using plugins.

Documentation

On our documentation site you can find:

And more.

Installation

Current supported Python versions are >=3.8 and <3.10.

  1. Install gmp on your machine (Cairo requirement).

    sudo apt install -y libgmp3-dev # linux
    or
    brew install gmp # mac
    

    If you have any trouble installing it on your Apple M1 computer, here’s a list of potential solutions.

  2. Create a folder for your project and cd into it:

    mkdir myproject && cd myproject
    
  3. Create a virtualenv and activate it:

    python3 -m venv env && source env/bin/activate
    
  4. Install Nile:

    pip install cairo-nile
    

Quickstart

Use nile init to quickly set up your development environment:

nile init
🗄 Creating project directory tree
⛵️ Nile project ready! Try running:

nile compile

Contribute

OpenZeppelin Nile exists thanks to its contributors. There are many ways you can participate and help build high quality software. Check out the contribution guide!

License

Nile is released under the MIT License.

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

cairo-nile-0.13.0.tar.gz (163.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cairo_nile-0.13.0-py3-none-any.whl (97.5 kB view details)

Uploaded Python 3

File details

Details for the file cairo-nile-0.13.0.tar.gz.

File metadata

  • Download URL: cairo-nile-0.13.0.tar.gz
  • Upload date:
  • Size: 163.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for cairo-nile-0.13.0.tar.gz
Algorithm Hash digest
SHA256 a83a960231fca441adb24c6d8e8c1348439e2e227a323e00ecc5c6f670bd031d
MD5 003054c86f8079cd78a90e6ebd6fb507
BLAKE2b-256 5613baf076bd35fbb36ccf4bce76c67c7b6edbe991edc64211ac1dd67699a686

See more details on using hashes here.

File details

Details for the file cairo_nile-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: cairo_nile-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 97.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for cairo_nile-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 589938bcbe4a640ac2abeb2c40591d7b670d163ac82b1ef16daef9a56c8c7458
MD5 657692c9e21b84411c6933aeea4ffe0e
BLAKE2b-256 047567ff6128f941c1a17ec940d5e6c267b4cf909d722f7df611795da59e9177

See more details on using hashes here.

Supported by

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