Thank you for your interest in contributing to GoTRON SDK! This guide will help you get started.
- Go 1.25 or higher
- Make
- Protocol Buffers compiler (only if regenerating protos)
git clone https://github.com/fbsobreira/gotron-sdk.git
cd gotron-sdk
make# Unit tests
make test
# Integration tests (requires network access)
make test-integration# Run linter
make lint
# Run goimports
make goimports
# Tidy modules
make tidy- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/<your-username>/gotron-sdk.git
- Create a branch for your change:
git checkout -b feature/my-change
- Make your changes and ensure they pass all checks:
make goimports make lint make test - Commit your changes (see commit format below).
- Push to your fork and open a Pull Request against
master.
- Format all code with
gofmtandgoimports(make goimports). - Follow standard Go conventions and idioms.
- Run
make lintbefore submitting and fix any warnings. - Keep changes focused — one logical change per PR.
We follow Conventional Commits:
<type>(<scope>): <description>
[optional body]
Types: feat, fix, docs, test, refactor, chore, ci, perf
Examples:
feat(client): add GetAccountResource method
fix(address): handle empty base58 input
docs: update SDK usage examples
test(client): add mock tests for transfer
Look for issues labeled good first issue — these are great starting points for new contributors.
Open an issue on the Issue Tracker with:
- A clear description of the problem
- Steps to reproduce
- Expected vs. actual behavior
- Go version and OS
By contributing, you agree that your contributions will be licensed under the LGPL-3.0 License.