This is a quick guide to help you contribute to the Rust client of WNS.
To build and test the Rust client, you can use cargo
.
# Build the client
cargo build
# Test the client (requires building the program first)
cargo test-sbf --sbf-out-dir ../../programs/.bin
When something changes in the program(s), make sure to run yarn clients
in the root directory, to re-generate the clients accordingly.