How to contribute as a developer
We appreciate your interested in contributing to the Kadena project. There are a lot of ways to get involved. For example, you can contribute by:
- Fixing bugs in existing features, code logic, or code comments.
- Suggesting design enhancements.
- Implementing new features.
- Providing usability testing and feedback.
- Translating code or documentation.
This guide describes how to get started with contributing as a developer.
Set up a local development environment
To set up a local development environment for contributing to Kadena:
-
Navigate to the appropriate repository on GitHub.
-
Click Fork tfor he repository on GitHub to create your own copy of the repository.
-
Open a terminal shell on your computer.
-
Clone your fork locally by running the following command:
git clone https://github.com/YOUR_USERNAME/PROJECT_NAME.git -
Install dependencies by running the following command:
npm install -
Set up pre-commit hooks by running the following command:
npm run prepare
Find issues to work on
- Check for open issues in the repository. For example, check the Open issues for the kadena.js
- Check for issues labeled good first issue.
- If you have an idea for a new feature, please open a new issue to discuss it before starting work.
Branching strategy
We use a simplified Git flow:
mainbranch for stable releasesdevelopbranch for ongoing development- Feature branches should be created from
develop
Commit messages
Follow the Conventional Commits specification:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Pull requests
- Create a new branch from
develop. - Make your changes and commit them.
- Push to your fork and submit a pull request to the
developbranch. - Ensure your PR description clearly describes the problem and solution.
Recognizing contributors
We use the All Contributors specification to recognize all types of contributions. After your first contribution is merged, you'll be added to the contributors list in the README.
Review process
- Automated tests will run on your pull request.
- A maintainer will review your contribution.
- Address any feedback or requested changes.
- Once approved, a maintainer will merge your contribution.
Community
- Join the Kadena Discord server for real-time discussions.
- Follow Kadena on X or LinkedIn for news and announcements.