Substrate Sidecar API is an open source project that welcomes new issues and PRs.
If you’re new to open source or interested in contributing, this guide is particularly helpful: How to Contribute to Open Source.
To contribute to this repo, start by creating a GitHub Issue, which will allow you to gather feedback before writing any code. In the Issues tab, you’ll be able to select from a template to create an Issue.
To create a Pull Request after you’ve created an Issue, you’ll need to head over to the Pull Request tab. This will be where all the PRs will be located, and where reviewers will be able to review your changes made.
yarn lint
: Make sure your code follows our linting rules. You can also runyarn lint --fix
to automatically fix some of those errors.yarn test
: Make sure all tests pass.yarn build:docs
: If any changes are made to the OpenApi specs make sure to rebuild the UI.
There are a few basic ground-rules for contributors (including the maintainer(s) of the project):
- Try to avoid
--force
pushes or modifying the Git history in any way. If you need to rebase, ensure you do it in your own repo. - Non-master branches, prefixed with a short name moniker (e.g.
gav-my-feature
), must be used for ongoing work. - All modifications must be made in a Pull Request to solicit feedback from other contributors.
- Contributors should adhere to the house coding style.
When reviewing a Pull Request, the end goal is to suggest useful changes to the author. Reviews should finish with approval unless there are issues that would result in:
- Buggy behaviour.
- Undue maintenance burden.
- Breaking with house coding style.
- Poor performance.
- Feature reduction (i.e. it removes some aspect of functionality that a significant minority of users rely on).
- Uselessness (i.e. it does not strictly add a feature or fix a known issue).
Asking for help in the Parity community is encouraged and welcomed! The best ways to reach us are:
- Chat with us: Substrate Technical Element
- Ask a question tagged
substrate
: Stack Overflow - Weekly office hours: Substrate Seminar
These contributing guidelines are modified from the "OPEN Open Source Project" guidelines for the Level project: https://github.com/Level/community/blob/master/CONTRIBUTING.md