Thank you for your interest in contributing to NEAR's Rust SDK! We appreciate any type of contribution.
If you have any questions about contributing, or about the project in general, please ask in our rust-sdk Discord channel.
We have an open and welcoming environment, please review our code of conduct.
Please use descriptive PR titles. We loosely follow the conventional commits style, but this is not a requirement to follow exactly. PRs will be addressed more quickly if it is clear what the intention is.
Ensure the following are satisfied before opening a PR:
- The
git-hooks.sh
script has been run to install the git hooks. - Code is formatted with
rustfmt
by runningcargo fmt
- Before running the tests, ensure that all example
.wasm
files are built by executing ./examples/build_all.sh - Run all tests and linters with ./run-tests.sh
- Ensure any new functionality is adequately tested
- If any new public types or functions are added, ensure they have appropriate rustdoc documentation