Thank you for your interest in contributing to Anchor-Kit! We welcome contributions from the community to help make Stellar anchor development easier for everyone.
To get started, you'll need the following installed:
git clone [email protected]:0xNgoo/anchor-kit.git
cd anchor-kitbun installWe use Vitest for testing.
# Run all tests
bun run test
# Run tests in watch mode
bun run test:watch
# Run tests with coverage
bun run test:coverageWe enforce code style using ESLint and Prettier.
- Linting:
bun run lint - Formatting:
bun run format
Note: We use Husky and lint-staged to automatically format and lint your code before committing. If your code doesn't pass these checks, the commit will be blocked.
- Fork the repository (if you are not a core maintainer).
- Create a feature branch from
main:or for bugs:git checkout -b feat/my-new-feature
git checkout -b fix/bug-description
- Make your changes.
- Commit your changes using Conventional Commits:
feat: add new SEP-24 hookfix: resolve null pointer in authdocs: update README
- Push to your fork/branch.
- Open a Pull Request targeting the
mainbranch.
- Description: clearly explain what your PR does.
- Tests: include tests for any new functionality or bug fixes.
- Documentation: update documentation if your changes affect the public API.
- CI: ensure all CI checks pass.
A task is considered "Done" when:
- Code is written and linted.
- Tests are written and passing.
- Documentation is updated.
- PR is approved by a maintainer.
By contributing, you agree that your contributions will be licensed under its MIT License.