Verify before you buy

Read the money engine. Now, free, no signup.

Below is the complete, verbatim source of Kovarra's payment engine — the code that derives receiving addresses, pegs exchange rates, matches on-chain payments to invoices, and decides when an invoice is paid. This is the part of the product where custody would live if it existed. It doesn't: you will find no private keys, no seed phrases, and no transaction-signing code — only public-key address derivation and integer arithmetic.

Also published: the entire 82-test suite that guards it, and the CI tripwire script that fails any build containing signing capability.

What this does and doesn't prove. It proves the engine's quality, the integer-only money math, and the receive-only design — before you spend anything. The full product (API server, checkout & dashboard UI, blockchain watchers, installer, WooCommerce plugin) ships on purchase, and you can verify the complete codebase then — or request a full evaluation copy first via Telegram. Bring your own developer or auditor; we encourage it.

Engine source (packages/core/src)

FileLinesWhat it does
statemachine.ts280The invoice state machine — every payment decision: detected, confirming, paid, expired, underpaid, overpaid, reorg rollback, late funds
derivation.ts83Address derivation from extended public keys (Base + Tron); refuses private keys outright
chains.ts68Chain/network parameters, testnet switching, explorer links
rates.ts66Exchange-rate fetching with caching; float-free conversion at the boundary
option.ts64Builds a payment option: pegged amount + fresh address per invoice
license.ts48Offline Ed25519 license verification (the license never phones home)
amounts.ts43Integer base-unit money math — parsing, formatting, tolerance floors; no floating point
dust.ts27"Cent-dust" amount uniqueness for shared-address mode
webhooks.ts17HMAC-SHA256 webhook signing + constant-time verification
peg.ts16Fiat → crypto conversion, rounded in the merchant's favor
types.ts8Chain/asset types
index.ts11Module exports

The test suite (packages/core/test)

FileLinesCovers
statemachine.test.ts53841 tests: every transition, tolerance edges (exactly at floor, one unit below), expiry races, double-tx accumulation, reorg rollback, multi-asset first-wins semantics, late funds never dropped
derivation.test.ts71Address derivation cross-checked against an independent implementation; private-key rejection
option.test.ts63Option building, per-selection rate pegging, dust application
amounts.test.ts52Money parsing/formatting, ceiling division, tolerance-floor rounding
rates.test.ts50Rate caching, provider failure handling
license.test.ts50License signature verification, tamper rejection
peg.test.ts41Fiat→crypto pegging, merchant-favorable rounding
dust.test.ts34Dust uniqueness and collision fallback
webhooks.test.ts19Signing determinism, constant-time verification

The non-custody tripwire

FileLinesWhat it does
check-no-custody.sh19Fails any build whose source contains private keys, mnemonics, or transaction-signing code. Runs in CI on every change.

Questions about anything you read here — or want the full evaluation copy? Message @Kovarra_xyz on Telegram.

Install guide → API reference → ← Back to home