This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@prophouse/contracts
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.11 • Public • Published

Prop House Contracts

Development


Install Dependencies

  1. Install Foundry
  2. 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
  3. Install submodules:
    git submodule update --init --recursive

Compile TypeScript, Contracts, and Generate Typechain Typings

yarn build

Tests

  1. Generate test users:
    yarn test:users
  2. Run local chains:
    yarn chain
  3. 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

Readme

Keywords

none

Package Sidebar

Install

npm i @prophouse/contracts

Weekly Downloads

0

Version

0.1.0-alpha.11

License

GPL-3.0

Unpacked Size

1.35 MB

Total Files

233

Last publish

Collaborators

  • solimander
  • sovinseneca