Documentation
Everything you need to build on OPP_NET, deploy contracts, and run your own infrastructure.
Architecture
How OPP_NET works: metashrew indexing, opnet-jsonrpc routing, contract execution, and the full stack overview.
RPC Reference
Complete JSON-RPC API documentation. Every btc_* and bitcoin_* method, parameters, return types, and examples.
CLI Tools (opnet-cli)
Deploy contracts, interact with them, manage wallets, mine PoW challenges, and query the chain — all from the command line.
TypeScript SDK (@opnet/ts-sdk)
Build OP_NET applications in TypeScript. MetashrewClient, contract calls, wallet utilities, and provider setup.
Explorer & Osprey
Osprey block explorer backend: REST API for blocks, transactions, traces, contracts, OppSwap pools, and SLOHM protocol data.
Self-Hosting
Run the entire OPP_NET stack yourself. Docker images, Kubernetes manifests, Flux GitOps, and configuration reference.
Quick Start
Point your client at our public RPC and start querying:
curl -X POST https://rpc.opnet.dev/testnet4 \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"btc_blockNumber","params":[],"id":1}'
# Response: {"jsonrpc":"2.0","result":"0x16b2","id":1}