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.
New contributors are encouraged to start with issues labeled good first issue. To claim one:
- Pick an unassigned issue from the
good first issuelist. - Leave a comment on the issue saying you'd like to work on it (for example, "I'd like to take this one").
- Wait briefly for a maintainer to assign it to you so duplicated work is avoided.
- Once assigned, follow the Git Workflow below to open a pull request that references the issue with
Closes #<issue number>.
If no good first issue is open, feel free to open a new issue describing what you'd like to contribute before starting work.
To get started, you'll need the following installed:
git clone git@github.com: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.