Skip to main content
MiniLedger dashboard showing block height, peers, state keys, block rate, recent blocks, transactions, and consensus status
PRIVATE LEDGER / NODE.JS

Embedded ledger infrastructure without the platform weight.

Blocks, transactions, peer state, governance, and SQL-readable world state stay close to the application instead of becoming a separate operations program.

Built for private ledgers that need to ship

MiniLedger gives engineering teams the control model of a private blockchain with the deployment shape of a normal Node.js dependency.

Application teams

  • Embed the ledger in a service
  • Keep data local and inspectable
  • Avoid a new infrastructure platform

Enterprise workflows

  • Audit trails
  • Supply chain provenance
  • Compliance evidence

Consortium pilots

  • Multi-party shared state
  • Peer-to-peer synchronization
  • Governance from day one

Why teams choose MiniLedger

A lightweight alternative to Hyperledger Fabric, R3 Corda, and Quorum for teams that need a private blockchain without the operational burden.

01

No platform ceremony

No Docker, Kubernetes, certificate authorities, orderer services, or separate ledger runtime to operate.

02

Queryable ledger state

World state lives in SQLite, so product teams can inspect ledger data with ordinary SQL instead of custom query APIs.

03

Embeddable by default

Import MiniLedger into a Node.js or TypeScript service and ship a ledger as part of the application.

Enterprise-grade primitives, Node-native shape

The core primitives are built in, but exposed in a way that feels familiar to product engineers.

Raft consensus

Leader election, log replication, and fault tolerance across multi-node private clusters.

JavaScript contracts

Deploy plain JavaScript functions that read and write ledger state without Solidity, Go, or Kotlin.

Per-record privacy

AES-256-GCM field encryption with ACL-based access control, without channel sprawl.

On-chain governance

Propose, vote, and execute network changes through quorum-based governance flows.

Explorer included

Use the dashboard for blocks, transactions, state browsing, SQL console, and full-text search.

P2P networking

Run a WebSocket mesh with peer discovery, reconnection, and chain synchronization.

A private ledger that fits inside your stack

MiniLedger keeps the blockchain primitives explicit while removing the infrastructure layer that makes most enterprise ledgers slow to adopt.

01Node appEmbed MiniLedger in-process
02Signed txSubmit state changes and contracts
03Raft logReplicate blocks across peers
04SQLite stateQuery current world state with SQL
Cluster postureProduction path
  • Every write is signed, hashed, and committed to a block.
  • Peers replicate through WebSocket mesh networking.
  • State remains inspectable through SQL and the built-in explorer.
4c7b561f...7fb80041dbf483...3bb1fc43e9fe4e...404ab1

From install to queryable ledger state

Start a private ledger, submit signed transactions, and inspect state with SQL from the same application runtime.

app.ts
import { MiniLedger } from 'miniledger';

const node = await MiniLedger.create({ dataDir: './my-ledger' });
await node.init();
await node.start();

// Submit a transaction
await node.submit({ key: 'account:alice', value: { balance: 1000 } });

// Query state with SQL
const results = await node.query(
'SELECT * FROM world_state WHERE key LIKE ?',
['account:%']
);
world_stateSELECT key, value FROM world_state;
KeyVersionValue
account:alice9{ balance: 1000 }
account:bob9{ balance: 725 }
shipment:7f28{ status: "cleared" }

How it compares

MiniLedger is designed for teams that want a private ledger without adopting a full blockchain operations platform.

MiniLedgerHyperledger FabricR3 CordaQuorum
Setup time10 secondsHours/daysHoursHours
Dependenciesnpm installDocker, K8s, CAsJVM, Corda nodeJVM, Go-Ethereum
Config files0 (auto)Dozens of YAMLMultiple configsGenesis + static nodes
ConsensusRaft (built-in)Raft (separate orderer)Notary serviceIBFT / Raft
Smart contractsJavaScriptGo / Java / NodeKotlin / JavaSolidity
State queriesSQLCouchDB queriesJPA / VaultNo native query
PrivacyPer-record ACLsChannels (complex)Point-to-pointPrivate transactions
GovernanceOn-chain votingOff-chain manualOff-chainOff-chain
DashboardBuilt-in explorerNone (3rd party)NoneNone
EmbeddableYes (npm library)NoNoNo

Built for real enterprise workflows

Use MiniLedger when a normal database is not enough because multiple parties need a shared, signed, replayable history.

Audit and compliance trails

Tamper-evident records for regulated workflows, financial controls, healthcare activity, and internal approvals.

Best when every participant needs proof of what changed and when.

Supply chain provenance

Track goods, documents, custody, and state changes across organizations with cryptographic verification.

Best when multiple parties update a shared record but keep separate systems.

SaaS tenant ledgers

Embed immutable histories, account movements, credits, loyalty points, or workflow state inside a product.

Best when the ledger must be part of the application, not a sidecar platform.

Multi-party operations

Run peer nodes across teams, partners, or subsidiaries while preserving local control and shared consensus.

Best when governance and synchronization matter more than public-chain economics.

Start with a ledger your team can understand

Install MiniLedger, run a node locally, and scale into a private multi-party network when the workflow is ready.

$npm install miniledger