Skip to content

domoy77/Octra-Tesnet-Task-III

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GitHub stars Platform Buy Me A Coffee

Tesnet Task III For linux : Ubuntu/Debian, Fedora/RHEL, Arch

  1. Install Update
  • Ubuntu/Debian
sudo apt update
sudo apt install pkg-config libssl-dev
pkg-config --version  
pkg-config --modversion openssl  

** Fedora/RHEL

sudo dnf install pkg-config openssl-devel

*** Arch

sudo pacman -S pkgconf openssl
  1. Install Rust (if not installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
  1. Build from Source
git clone https://github.com/octra-labs/ocs01-test.git
cd ocs01-test
cargo build --release
  1. Setup
# copy contract interface
cp EI/exec_interface.json .
  1. 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

  1. Run
./target/release/ocs01-test

Or

./ocs01-test

About

Octra-Tesnet-Task-III

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published