git clone https://github.com/ghos3kick/ton-agent-passport.git
cd agent-passport
npm installSDK must build first — bot and web depend on it.
cd packages/sdk && npm run build
cd packages/bot && npm run build
cd packages/web && npm run build
cd packages/mini-app && npm run buildnpx blueprint test # contract tests
cd packages/sdk && npm test # SDK tests
cd packages/mini-app && npx vitest run # frontend tests- Create a feature branch from
main - Make changes, ensure tests pass
- Open a pull request with a clear description
- Prettier with project config (120 chars, 4 spaces, single quotes)
- TypeScript strict mode
- No secrets in code — use environment variables
Copy .env.example files in each package directory and fill in your values. Never commit .env files.