We recommend installing scarb through ASDF. Please refer to these instructions.
Thanks to the .tool-versions file, you don't need to install a specific scarb or starknet foundry version. The correct one will be automatically downloaded and installed.
You also need to install the Universal-Sierra-Compiler (USC); please refer to these instructions.
scarb test
Integration tests use a local Starknet devnet on http://127.0.0.1:5050.
- If you have Docker installed,
scarb run test-tswill auto-start the devnet when needed. - Make sure the Docker daemon is running (e.g. Docker Desktop on macOS).
- You can still start it manually:
scarb run start-devnetInstall all packages:
pnpm installRun all integration tests:
scarb run test-ts