Thank you for investing your time in contributing to Conflux-Devkit!
This guide aims to provide an overview of the contribution workflow to help us make the contribution process effective for everyone involved.
Conflux-Devkit is a minimal and forkable repo providing builders with a docker based devcontainer with preconfigured a local node for development on Conflux Core and Espace.
Read the README to get an overview of the project.
The goal of Conflux-Devkit is to provide the primary building blocks to build decentralized application on Conflux.
The repo can be forked to include integrations and more features, but we want to keep this repository agnostic from other specific tooling like hardhat or frontend frameworks.
The project is under active development.
You can view the open Issues, follow the development process and contribute to the project.
You can contribute to this repo in many ways:
- Solve open issues
- Report bugs or feature requests
- Improve the documentation
Contributions are made via Issues and Pull Requests (PRs). A few general guidelines for contributions:
- Search for existing Issues and PRs before creating your own.
- Contributions should only fix/add the functionality in the issue OR address style issues, not both.
- If you're running into an error, please give context. Explain what you're trying to do and how to reproduce the error.
- If applicable, please edit the README.md file to reflect the changes.
Issues should be used to report problems, request a new feature, or discuss potential changes before a PR is created.
Scan through our existing issues to find one that interests you.
If a contributor is working on the issue, they will be assigned to the individual. If you find an issue to work on, you are welcome to assign it to yourself and open a PR with a fix for it.
If a related issue doesn't exist, you can open a new issue.
Some tips to follow when you are creating an issue:
- Provide as much context as possible. Over-communicate to give the most details to the reader.
- Include the steps to reproduce the issue or the reason for adding the feature.
- Screenshots, videos etc., are highly appreciated.
We follow the "fork-and-pull" Git workflow
- Fork the repo
- Clone the project
- Create a new branch with a descriptive name
- Commit your changes to the new branch
- Push changes to your fork
- Open a PR in our repository and tag one of the maintainers to review your PR
Here are some tips for a high-quality pull request:
- Create a title for the PR that accurately defines the work done.
- Structure the description neatly to make it easy to consume by the readers. For example, you can include bullet points and screenshots instead of having one large paragraph.
- Add the link to the issue if applicable.
- Have a good commit message that summarises the work done.
Once you submit your PR:
- We may ask questions, request additional information or ask for changes to be made before a PR can be merged. Please note that these are to make the PR clear for everyone involved and aims to create a frictionless interaction process.
- As you update your PR and apply changes, mark each conversation resolved.
Once the PR is approved, we'll "squash-and-merge" to keep the git commit history clean.