0.1.0-alpha.11 • Published 2 years ago
@prophouse/contracts v0.1.0-alpha.11
Prop House Contracts
Development
Install Dependencies
- Install Foundry
- Install Python 3.9, activate virtualenv, and install dependencies:
python3.9 -m venv ~/cairo_venv source ~/cairo_venv/bin/activate pip3 install -r requirements.txt
- Install submodules:
git submodule update --init --recursive
Compile TypeScript, Contracts, and Generate Typechain Typings
yarn build
Tests
- Generate test users:
yarn test:users
- Run local chains:
yarn chain
- Run tests (in a separate cairo_venv terminal):
yarn test
Troubleshooting
If on an M1 mac, you may receive the following error when running starknet-devnet
:
+[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
If so, please add the following to ~/.bash_profile
:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
Format Code
yarn format
0.1.0-alpha.10
2 years ago
0.1.0-alpha.11
2 years ago
0.1.0-alpha.9
2 years ago
0.1.0-alpha.8
2 years ago
0.1.0-alpha.5
2 years ago
0.1.0-alpha.4
2 years ago
0.1.0-alpha.7
2 years ago
0.1.0-alpha.6
2 years ago
0.1.0-alpha.3
2 years ago
0.1.0-alpha.1
2 years ago
0.1.0-alpha.0
2 years ago
0.1.0-alpha.2
2 years ago
0.1.0-alpha
3 years ago