Skip to projects
Lastro

The backing behind
your money.

A small open-source lab building money infrastructure in TypeScript and Effect. Accounts, balances, transfers and refunds.

Projects

Three primitives, built in the open.

Each one is a library first and a service second. Run them together, or take the one you need.

ledger (in development)

Ledger: double-entry on Postgres

Import it as Effect layers, or run the Docker image. Either way it only needs a Postgres URL.

  • Explicit debit and credit entries. Nothing is inferred.
  • Typed, immutable metadata with .annotate
  • Batch-native: concurrent posts are coalesced into physical batches
  • Single posts keep normal DX
lastrohq/ledger

indexer (coming soon)

Indexer: chain events in your tables

Define Effect Schemas for the events you care about. They land as rows in your own Postgres.

  • Schemas are the source of truth
  • Reorg-safe by default
  • Resumable backfills from any point
lastrohq/indexer
transfersyour Postgres
1842001Transferfinal
1842002Transferfinal
1842003Transferreorg, reindexed
1842004Transferpending

wallets (coming soon)

Wallets: self-hosted, non-custodial

A policy engine and an accounts API on your own infrastructure. Signing is delegated to the key system you already trust.

  • Policy engine in front of every signature
  • One accounts API
  • Signing via KMS, HSM or MPC
lastrohq/wallets
transfer 2,400.00 USDapproved
policydaily limitpass
policyallowlistpass
policytwo approverspass
signyour KMSsigned

Philosophy

How the lab works.

  1. 01

    Open source

    MIT / Apache-2.0. Read it, fork it, run it on your own machines.

  2. 02

    No token, ever

    Nothing to buy, stake, or speculate on. The lab ships code.

  3. 03

    Non-custodial

    Your keys, your database, your infrastructure. Lastro never holds funds.

  4. 04

    Effect-native, protocol-first

    Layers, schemas and typed errors. The protocol is the contract.

  5. 05

    Boring primitives

    Accounts, balances, transfers, refunds. On Postgres.