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/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/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/tenzroKey Commands
Node Management
# Start validator node
tenzro node start --role validator
# Start model provider node
tenzro node start --role model-provider
# Check node status
tenzro node statusWallet Operations
# Create new wallet
tenzro wallet create --name my-wallet
# Get balance
tenzro wallet balance --asset TNZO
# Send transaction
tenzro wallet send --to <address> --amount 100 --asset TNZOModel & Inference
# List available models
tenzro model list
# Request inference
tenzro inference request --model gemma4-9b --prompt "Hello"
# Register model as provider
tenzro model register --path ./model.safetensorsStaking & Governance
# Stake TNZO
tenzro stake deposit --amount 1000
# List governance proposals
tenzro governance list
# Vote on proposal
tenzro governance vote --proposal-id 5 --vote yesIdentity & Payments
# Register human identity
tenzro identity register --type human --name "Alice"
# Resolve DID
tenzro identity resolve --did did:tenzro:human:123...
# Create payment challenge
tenzro payment challenge --amount 10 --protocol mpp