Skip to content

Latest commit

 

History

History
78 lines (45 loc) · 1.66 KB

CONTRIBUTING.md

File metadata and controls

78 lines (45 loc) · 1.66 KB

Contributing to hypersdk

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.

Getting Started

Prerequisites

To contribute to hypersdk, you'll need:

  • Go 1.20 or higher

Setting up your development environment

  1. Clone the repository:
git clone https://github.com/ava-labs/hypersdk.git
cd hypersdk
  1. Install the dependencies:
go mod download

This will download and install all required dependencies for the project.

Building and running tests

To build and run tests for the hypersdk, simply run:

./scripts/tests.unit.sh

This will build and run all tests for the project.

Running linters

To run the linters, simply run:

./scripts/tests.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

Contributing

We welcome contributions to hypersdk! To contribute, please follow these steps:

  1. Fork the repository and create a new branch for your contribution.

  2. Make your changes and ensure that all tests pass and linting is clean.

  3. Write tests for any new features or bug fixes. (If necessary)

  4. Submit a pull request with your changes.

Pull Request Guidelines

When submitting a pull request, please ensure that:

  1. Your code is formatted using go fmt.

  2. Your code is properly tested.

  3. Your code passes all linters.

  4. Your pull request description explains the problem and solution clearly.