Terp Network Docs

Software

The software stack of Terp Network — open source, CosmWasm, compilers, reproducible builds

Software

Software is the logic that runs on hardware devices to produce the Terp Network protocol. Every aspect of Terp Network — from the node software to smart contracts to user interfaces — is open source software.

What Makes Good Software?

Good software on Terp Network shares these properties:

  • Open source — anyone can read, audit, and contribute to the code
  • Reproducible — the same source always produces the same binary
  • Deterministic — the same inputs always produce the same state transitions
  • Auditable — deployed code has a verifiable link back to its source

The Terp Network Software Stack

Terp-Core

The blockchain node software built on the Cosmos SDK. Terp-core includes:

  • Cosmos SDK modules (staking, governance, bank, etc.)
  • Custom modules (global fee, feeshare, drip, clock, IBC hooks)
  • CosmWasm smart contract runtime
  • CometBFT consensus engine

Source: github.com/terpnetwork/terp-core

Smart Contracts (CosmWasm)

Custom application logic deployed on-chain. Contracts are written in Rust and compiled to WebAssembly. See the CosmWasm guides for contract development.

User Interfaces

Web applications, CLI tools, and mobile apps that interact with the chain. Common patterns:

  • WebApp — React/Next.js with CosmJS or CosmosKit
  • CLIterpd command-line interface
  • Static sites — wallet-authenticated dashboards

Tooling

ToolPurpose
terpdNode binary and CLI
O-LineEphemeral node deployment
QMDSemantic code indexing
cw-orchestratorMulti-contract deployment scripting
CosmWasm optimizerReproducible contract builds

Software architecture diagram scaffold — a layered diagram showing the software stack: Consensus (CometBFT) → Cosmos SDK → Terp modules → CosmWasm VM → Smart contracts → User interfaces.

Reproducible Builds

Every software component in the Terp Network ecosystem should be reproducible. This means:

# Anyone can verify the binary matches the source
git checkout v5.2.0
make build
sha256sum build/terpd
# Compare with published hash

Further Reading

On this page