Thanks for contributing to Blocs.
- Be respectful and follow the Code of Conduct.
- Keep pull requests focused; avoid unrelated refactors.
- Include tests for behavior changes whenever possible.
- Do not commit secrets, private keys, or real credentials.
cp .env.example .env
npm ci
npm run devcd anchor
yarn install --frozen-lockfile
anchor build
yarn testRun from repository root:
npm run lint
npm run typecheck
npm run test -- --run
npm run buildIf you changed Anchor code, also run:
cd anchor
anchor build
yarn test- Describe the problem and the solution clearly.
- Link related issues.
- Add or update tests and docs.
- Keep docs and
.env.examplein sync when changing env vars, workflows, or operational behavior. - Confirm CI is green.
Conventional commits are preferred but not required.
- Maintainer commits to
mainmust be GitHub-verified signed commits. - Release tags must be annotated and signed tags.
- Unsigned maintainer commits or unsigned release tags are blocked by CI.