Follow the steps below to set up your local development environment, deploy contracts, and run tests.
Ensure you have the following installed:
- Node.js: Version v18.17.0
- Starknet Devnet: Version 0.2.0
- Snforge: Version 0.27.0
First, install the necessary dependencies by running:
npm installTo start a local Starknet Devnet for contract testing, run:
npm run chainAfter the devnet is up and running, deploy the contracts in a differnt terminal using:
npm run deployTo test the smart contracts, execute the following command:
npm run test