Tenzro Testnet is live. Get testnet TNZO

SDKs & Developer Tools

Build, deploy, and interact with Tenzro using our comprehensive developer tools and SDKs

SDKs

SDKs for Rust, TypeScript, Python, and Go are under active development. In the meantime, you can interact with Tenzro directly via JSON-RPC endpoints.

Planned SDK Support

  • Rust SDK — Native high-performance client library
  • TypeScript/JavaScript SDK — Web and Node.js support
  • Python SDK — Data science and ML workflows
  • Go SDK — Backend services and infrastructure

Current Access: JSON-RPC Endpoints

Access Tenzro Network now using standard JSON-RPC over HTTP

Testnet Endpoints

  • JSON-RPC: https://rpc.tenzro.network
  • Web API: https://api.tenzro.network
  • Faucet: https://api.tenzro.network/api/faucet
  • MCP Server: https://mcp.tenzro.network/mcp
  • A2A Protocol: https://a2a.tenzro.network

Example: Get Balance (curl)

curl -X POST https://rpc.tenzro.network \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getBalance",
    "params": ["0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb5", "latest"],
    "id": 1
  }'

Example: Register Identity (JavaScript)

async function registerIdentity(displayName) {
  const response = await fetch('https://rpc.tenzro.network', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      jsonrpc: '2.0',
      method: 'tenzro_registerIdentity',
      params: [{
        identity_type: 'human',
        display_name: displayName,
      }],
      id: 1,
    }),
  });

  const data = await response.json();
  console.log('DID:', data.result.did);
  console.log('Wallet:', data.result.wallet_address);
  return data.result;
}

registerIdentity('Alice');

Example: Request Testnet Tokens

curl -X POST https://api.tenzro.network/api/faucet \
  -H "Content-Type: application/json" \
  -d '{"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb5"}'

Tenzro CLI

Command-line interface for node operators and developers

Installation

# Quick install (macOS / Linux)
curl -sSL https://get.tenzro.network | sh

# Or download pre-built binary
wget https://releases.tenzro.network/tenzro-cli-latest
chmod +x tenzro-cli-latest
sudo mv tenzro-cli-latest /usr/local/bin/tenzro-cli

Key Commands

Node Management

# Start validator node
tenzro-cli node start --role validator

# Start model provider node
tenzro-cli node start --role model-provider

# Check node status
tenzro-cli node status

Wallet Operations

# Create new wallet
tenzro-cli wallet create --name my-wallet

# Get balance
tenzro-cli wallet balance --asset TNZO

# Send transaction
tenzro-cli wallet send --to <address> --amount 100 --asset TNZO

Model & Inference

# List available models
tenzro-cli model list --category language

# Request inference
tenzro-cli inference request --model llama-3-70b --prompt "Hello"

# Register model as provider
tenzro-cli model register --path ./model.safetensors

Staking & Governance

# Stake TNZO
tenzro-cli stake deposit --amount 1000

# List governance proposals
tenzro-cli governance list

# Vote on proposal
tenzro-cli governance vote --proposal-id 5 --vote yes

Identity & Payments

# Register human identity
tenzro-cli identity register --type human --name "Alice"

# Resolve DID
tenzro-cli identity resolve --did did:tenzro:human:123...

# Create payment challenge
tenzro-cli payment challenge --amount 10 --protocol mpp