Our goal is to make contributing to the Libra project easy and transparent.
Note: As the Libra Core project is currently an early-stage prototype, it is undergoing rapid development. While we welcome contributions, before making substantial contributions be sure to discuss them in the Discourse forum to ensure that they fit into the project roadmap.
To contribute to the Libra Core implementation, first start with the proper development copy.
To get the development installation with all the necessary dependencies for linting, testing, and building the documentation, run the following:
git clone https://github.com/libra/libra.git
cd libra
./scripts/dev_setup.sh
cargo build
cargo test
Refer to our Coding Guidelines for detailed guidance about how to contribute to the project.
Libra's website is also open source (the code can be found in this repository). It is built using Docusaurus:
If you know Markdown, you can already contribute! This lives in the the website repo.
During the initial phase of heavy development, we plan to only audit and review pull requests. As the codebase stabilizes, we will be better able to accept pull requests from the community.
- Fork the repo and create your branch from
master
. - If you have added code that should be tested, add unit tests.
- If you have changed APIs, update the documentation. Make sure the documentation builds.
- Ensure the test suite passes.
- Make sure your code passes both linters.
- If you haven't already, complete the Contributor License Agreement (CLA).
- Submit your pull request.
For pull request to be accepted by any Libra projects, a CLA must be signed. You will only need to do this once to work on any of Libra's open source projects. Individuals contributing on their own behalf can sign the Individual CLA. If you are contributing on behalf of your employer, please ask them to sign the Corporate CLA.
Libra uses GitHub issues to track bugs. Please include necessary information and instructions to reproduce your issue.