Lock. Escrow. Release.

Privacy-preserving primitives for conditional digital asset release. One API. Zero trust required.

Three primitives. Infinite use cases.

LOK

Lock any digital asset with conditions you define. Time-based, event-driven, or on-demand. The asset is encrypted and held in escrow until conditions trigger.

RELEASE

Conditions met. Asset released. Zero-knowledge proofs verify the trigger without revealing the condition or parties involved.

ESCROW

Two-party conditional exchange. No intermediary, no counterparty risk. The smart contract is the only trusted party.

API-first

Integrate in minutes.

Most users never touch the UI. Lock and release assets programmatically with a simple REST API. Pay transaction fees in Dust.

  • Lock assets with a single POST
  • Define conditions as simple JSON
  • Webhook notifications on release
  • Full TypeScript SDK
// Lock an asset with a time condition
const lock = await lokx.lok({
  asset: "deed://20-sun-drive",
  recipient: "$bob",
  condition: {
    type: "date",
    trigger: "2027-01-01"
  }
});

// That's it. Bob gets access on Jan 1 2027.
// Neither party can tamper. Nobody else can see.

Use cases

If it can be locked, it can be LOK'd.

Inheritance

Release assets to beneficiaries on a verified life event. No lawyer. No probate.

Rental deposits

Lock deposit at lease start. Auto-release when the term ends. Both parties hold proof.

Trade finance

Release payment when goods arrive in expected condition. Oracle-verified delivery.

Secure vault

Store documents, keys, or credentials. On-demand self-release. Encrypted at rest.

Why Midnight

Privacy is not optional.

LOKX is built exclusively on Midnight — a privacy-first blockchain with zero-knowledge proof capabilities. Your conditions, your assets, and your identity are shielded by default. Threshold signatures across multiple validators eliminate single points of trust.

ZK proofs

Conditions verified without revealing what they are.

Threshold sigs

n-of-m validators. No single oracle can collude or fail.

Dust payments

Native Midnight token. Low fees. No intermediary tokens.