Tesnet Task III For linux : Ubuntu/Debian, Fedora/RHEL, Arch
- Install Update
- Ubuntu/Debian
sudo apt update
sudo apt install pkg-config libssl-devpkg-config --version
pkg-config --modversion openssl ** Fedora/RHEL
sudo dnf install pkg-config openssl-devel*** Arch
sudo pacman -S pkgconf openssl- Install Rust (if not installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env- Build from Source
git clone https://github.com/octra-labs/ocs01-test.git
cd ocs01-test
cargo build --release- Setup
# copy contract interface
cp EI/exec_interface.json .- Create Wallet
nano wallet.json{
"priv": "private‑key‑format B64",
"addr": "octra‑address dimulai dengan oct…",
"rpc": "https://octra.network"
}Replace:
"priv" → Your Base64-encoded private key
"addr" → Your Octra testnet address
- Run
./target/release/ocs01-testOr
./ocs01-test