Minimal local Canton barebones for wallet-first app experiments.
For the full Counter stack, follow the root runbook:
Run only the local Canton participant, Postgres, and wallet-service:
cp .env.example .env
docker compose up -d
./scripts/health-check.shdocker compose up -d (via npm run canton:up) brings up wallet-service alongside postgres + canton. Verify with npm run wallet-service:health.
The wallet-service self-mints an HS256 JWT at boot from CANTON_AUTH_AUDIENCE, CANTON_AUTH_SECRET, and CANTON_ADMIN_USER_ID.
Set WALLET_SERVICE_MOCK=1 in .env to short-circuit Canton calls; the service still starts but every /rpc method returns canned mock data.
Details:
The participant accepts local/dev HS256 JWTs configured by:
.env:CANTON_AUTH_AUDIENCE,CANTON_AUTH_SECRET,CANTON_ADMIN_USER_IDconfig/canton/app.conf: Canton ledger API auth service
Refer to the ports table in the root README to see the ports used by this stack.
Compile a Daml project outside this base, then upload the DAR.
./scripts/deploy-dar.sh /path/to/app.darThis barebones intentionally does not include Keycloak, SV, PQS, frontend, or backend.