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