Thank you for your interest in contributing to Base Node! This document provides best practices and instructions for making contributions.
- Fork the repository and clone your fork.
- Create a new branch for your change.
- Install dependencies as described in the README.
- Ensure you have Go 1.20 or later installed.
- Follow the existing project structure and import paths.
- Run
go vetandgolangci-lintbefore submitting a PR. - Write unit tests for new functions or significant changes.
- Keep your PRs focused and small.
- Include a clear description of what your change does.
- Update documentation if your change affects behaviour.
- Ensure all tests pass:
go test ./....
We appreciate your contributions and reviews help keep the codebase healthy!