This repository contains a Rust application that interacts directly with the reya network rpc in order to execute a trade against the passive lp pool.
Add the alloy
crate to Cargo as it is not available in the Rust repository:
cargo add alloy --git https://github.com/alloy-rs/alloy
Before you can run the test application you need to set an environment variable that contains a private_key export PRIVATE_KEY = your_private_key
In order to create documentation, run:
cargo doc --no-deps
In order to explore the reya core proxy contract, refer to the following cannon package link:
run sdk test as: cargo test -p reya-rust-sdk