Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.02 KB

installation.md

File metadata and controls

40 lines (30 loc) · 1.02 KB

Chinstrap installation

Requirements and dependencies

  • Python >= 3.7
  • Docker
  • Node.js
  • Homebrew needs to be installed.

Open a terminal and run:

➜ brew tap cuber/homebrew-libsecp256k1
➜ brew install libsodium libsecp256k1 gmp

To install Chinstrap from pypi, open a terminal and run:

➜ pip3 install -U chinstrap

To install Chinstrap v1.0.1 from Github, open a terminal and run:

➜ git clone https://github.com/ant4g0nist/chinstrap
➜ cd chinstrap
➜ pip3 install . -U

M1 (ARM)

In case secp256k1 or gmp cannot find either include or lib paths, try explicitly set environment vars:

export CFLAGS="-I`brew --prefix gmp`/include -I`brew --prefix libsecp256k1`/include"
export LDFLAGS="-L`brew --prefix gmp`/lib -L`brew --prefix libsecp256k1`/lib"
pip3 install . -U 

or follow instructions from pytezos

For more info, you can refer to the official documentation