Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

ocs01-test

> 编程语言
Open source

contract pre testing (OCS01 standard)

190 stars0 likes0 views
WebsiteGitHub

About

contract pre testing (OCS01 standard)

ocs01-test

rust cli for testing ocs01 smart contract

what it does

  • tests all ocs01 contract methods
  • interactive menu for easy navigation
  • shows results instantly for view methods
  • handles tx signing for call methods

works on

  • linux
  • macos
  • windows

install rust (if not installed)

bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

build from source

bash
git clone https://github.com/octra-labs/ocs01-test.git
cd ocs01-test
cargo build --release

setup

bash
# copy contract interface
cp EI/exec_interface.json .

required files in same directory

  • wallet.json - create with your credentials
  • exec_interface.json - copy from EI/ folder

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.

bash
./target/release/ocs01-test

for 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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言