Contributions are welcome to the soroban-sdk. Please discuss issues to be solved and potential solutions on issues ahead of opening a pull request.
Install rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install rust stable:
rustup install stable
rustup +stable target add wasm32v1-none
Install rust nightly:
rustup install nightly
rustup +nightly target add wasm32v1-none
Install cargo tools:
cargo install --locked cargo-hack
See the Makefile for all the common commands you might need.
Fmt code with:
make fmt
Open docs locally:
make doc
Build:
make build
Run tests:
make test
Build and test on changes:
make watch