DEVELOPERS

Build on VTT.

SDK

The official TypeScript SDK for the VTT blockchain. Install it from npm and start building in minutes.

$ npm install @vettor/sdk
QUICK START
import { VttClient } from "@vettor/sdk";

const client = new VttClient("https://testnet.vettor.org");

// Get latest block
const block = await client.getBlock("latest");
console.log("Block:", block.number);

// Get balance
const balance = await client.getBalance("0x...");
console.log("Balance:", balance);

Full SDK documentation and examples available on GitHub and npm.

JSON-RPC API

The VTT node exposes a JSON-RPC 2.0 API on port 9944. All methods use the vtt_ namespace.

METHODDESCRIPTION
vtt_blockNumberReturns the latest block number
vtt_getBlockByNumberReturns block data by number
vtt_getBalanceReturns the VTT balance for an address
vtt_sendRawTransactionSubmits a signed transaction
vtt_callExecutes a read-only contract call
vtt_getTransactionReceiptReturns the receipt for a transaction

See the full documentation for all available methods and parameters.

SMART CONTRACTS

Write smart contracts in Rust and compile them to WebAssembly (WASM) for deployment on the VTT blockchain. The WASM VM provides deterministic, gas-metered execution with strict resource limits.

MAX CONTRACT SIZE
512 KB
MEMORY LIMIT
16 MB
CALL STACK DEPTH
64

Contracts interact with the blockchain through a host ABI that provides access to storage, balance queries, cross-contract calls, and event emission. See the documentation for the full contract development guide.

RESOURCES