contract pre testing (OCS01 standard)
ocs01-test
rust cli for testing ocs01 smart contract
what it does
works on
install rust (if not installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envbuild from source
git clone https://github.com/octra-labs/ocs01-test.git
cd ocs01-test
cargo build --releasesetup
# copy contract interface
cp EI/exec_interface.json .required files in same directory
run
you must copy the release binary to your cli folder and also copy the EI file (execution interface file) to the same location
the release binary is located in this folder after successful build.
./target/release/ocs01-testfor this task the ei file contains the interface for contract at address octBUHw585BrAMPMLQvGuWx4vqEsybYH9N7a3WNj1WBwrDn, do not modify it
after running, follow the menu to interact with the contract
No open issues yet, or sync has not completed.