Thank you for your interest in contributing to hypersdk
! By contributing to hypersdk, you are helping to build the foundation for the next generation of blockchains and decentralized applications.
To contribute to hypersdk
, you'll need:
- Go 1.22.8 or higher
- Clone the repository:
git clone https://github.com/ava-labs/hypersdk.git
cd hypersdk
- Install the dependencies:
go mod download
This will download and install all required dependencies for the project.
To build and run tests for the hypersdk, simply run:
./scripts/tests.unit.sh
This will build and run all tests for the project.
To run the linters, simply run:
./scripts/lint.sh
This will run the linters on all code in the project.
The hypersdk
project also has a fixer that tries to help. To run the fixer, simply run:
./scripts/fix.lint.sh
We welcome contributions to hypersdk! To contribute, please follow these steps:
-
Fork the repository and create a new branch for your contribution.
-
Make your changes, sign all of your commits, and ensure that all tests pass and linting is clean.
-
Write tests for any new features or bug fixes. (If necessary)
-
Submit a pull request with your changes.
When submitting a pull request, please ensure that:
-
Your code is formatted using
go fmt
. -
Your code is properly tested.
-
Your code passes all linters.
-
Your pull request description explains the problem and solution clearly.