Skip to content

reclaimprotocol/substrate-sdk-onchain-integration

Implementation of the Reclaim Protocol in Substrate.

Requirements

  • Rust 1.74.0 - This project uses Substrate polkadot-v1.0.0 which is incompatible with newer Rust versions. The required version is pinned in rust-toolchain.toml.

Node

Build

cargo build --release

Test

cargo test

Test only pallet functionality

cargo test -p pallet-reclaim --lib 

Run node dev

./target/release/node-template --dev

Frontend

While the above command is running in a separate terminal, hit the following to launch the interface

cd substrate-front-end-template
yarn install
yarn start

Benchmarking

Build

cargo build --release --features runtime-benchmarks

Run

./target/release/node-template benchmark pallet \
    --chain dev \
    --wasm-execution=compiled \
    --pallet pallet-reclaim \
    --extrinsic '*' \
    --steps 50 \
    --repeat 20 \
    --output ./runtime/src/weights.rs

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •