- bun (v1.2 or newer)
- Rust (stable, via rustup)
- Anchor (v0.31 or newer)
- Solana CLI
- GNU make
- Configure your git hooks:
git config core.hooksPath .githooks
- Install TypeScript dependencies:
bun install
- Build everything:
make
Build all packages (TypeScript and Anchor):
make build
Build TypeScript only:
make build-ts
Build Anchor program only:
make build-anchor
Build a specific TypeScript package:
make packages/<package-name>
Run all lint checks:
make lint
TypeScript only:
make lint-ts
Rust only:
make lint-anchor
Auto-format all files:
make format
Run all tests:
make test
TypeScript tests only:
make test-ts
Anchor tests only:
make test-anchor
Remove build artifacts:
make clean