To develop Rust contracts you would need to:
- Install Rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Add wasm target to your toolchain:
rustup target add wasm32-unknown-unknown
- Clone the Flux monorepo
git clone https://github.com/jasperdg/flux-protocol.git
Navigate to the protocol directory
cd protocol
Run the test
cargo test --package flux-protocol