step 1
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
step 2
git clone https://github.com/octra-labs/ocs01-test.git
cd ocs01-test
cargo build --release
step 3
# copy contract interface
cp EI/exec_interface.json .
step 4
- hover your mouse to the main folder.
- right click and create a new file.
- name it "wallet.json" and paste this.
{
"priv": "your octra private key",
"addr": "your octra address",
"rpc": "https://octra.network"
}
step 5
- back to the terminal, type in "nano wallet.json".
- edit it to your respective details.
- then Ctrl + O to save, press Enter, then Ctrl X.
step 6
./target/release/ocs01-test
step 7
- insert "3" to claim your test token.
- you can then proceed to play w any number of your choice.