A smart contracts project developed with Cairo for the Starknet network, using Starknet Foundry as the development and testing framework.
- Cairo: Programming language for smart contracts on Starknet
- Starknet Foundry: Development, testing, and deployment framework
- Starknet: Layer 2 network for Ethereum
Before getting started, make sure you have installed:
- Starknet Foundry
- Scarb (Cairo package manager)
stap-smart-contracts/
├── src/
│ ├── lib.cairo
│ └── contracts/
│ └── stap.cairo
├── tests/
│ └── test_stap.cairo
├── scripts/
│ └── deploy.sh
├── Scarb.toml
├── snfoundry.toml
└── README.md
Run all tests:
snforge testRun tests with verbosity:
snforge test -vRun a specific test:
snforge test test_specific_nameCompile contracts:
scarb buildThis project is licensed under the MIT license.