Rust Smart Contracts Development Kit
Install ipyeos first for debugging.
python3 -m pip install ipyeosIn order to update to a new version, use the following command:
python3 -m pip install -U ipyeosThen run the debugging server:
eosdebuggerOn Windows, you need to use a docker image to run a debugging server.
docker pull ghcr.io/uuosio/ipyeos:latestRun the debugging server on the Windows platform:
docker run -it --rm -p 9090:9090 -p 9092:9092 -t ghcr.io/uuosio/ipyeosBuild contract
rust-contract buildStart debugging:
First, install grcon
cargo install grcovSecond, install llvm-tools
rustup component add llvm-tools-previewGenerate code coverage report in html
# rm -rf ./target
export CARGO_INCREMENTAL=0
export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off"
cargo +nightly test
grcov . -s . -t html --llvm --branch --ignore-not-existing -o ./target/debug/coverage/You will need to start eosdebugger first if you didn't do that. cargo +nightly test command depends on that to run.

