reference https://paritytech.github.io/ink-docs/getting-started/setup.
Run
git clone --recursive https://github.com/subdao-network/polkasign-contracts.git
Please use cargo-contract version 0.11!
cargo install cargo-contract --vers ^0.11 --force --locked
Run bash ./build.sh
, you can find .contract
file in ./release
dir.
or
Run
cargo +nightly contract build
in each contract folder
cd polkasign
cargo test