Skip to main content
REM is built for high-concurrency, low-latency financial operations. The same stack powers the Stablecoins, Tokenisation, Compliance Engine, and Settlement Zones modules.

Backend infrastructure

Core runtime

  • Bun — primary runtime, package manager, and test runner for superior performance
  • Turborepo — orchestrates the monorepo across /api, /sdk, /mcp, /db, and /zones

API framework

  • Hono — fast, lightweight web framework used for routing and RPC
  • Zod — exhaustive runtime validation and type inference across every endpoint

Data layer

  • Drizzle ORM — lightweight TypeScript ORM for schema management and type-safe queries
  • PostgreSQL — primary relational database (managed via Supabase or Neon)
  • Redis — job queues (BullMQ) and rate limiting (Upstash)

Web3 and blockchain integration

StackPurpose
Tempo SDKPrimary settlement rail; Mainnet and Zone deposits, transfers, withdrawals
Solana Web3.jsHigh-velocity transaction handling on Solana
ViemType-safe interactions with EVM chains (Base, Arc, Tempo Mainnet)
Arc SDKInstitutional L1 with native KYC and Travel Rule support
Circle SDKUSDC issuance, mint/redeem, and CPN integration

Agentic-payment protocols

REM operates as the on-ramp for emerging agentic-payment protocols so institutional balances can settle into them without bespoke integration work:
  • Visa Intelligent Commerce and MasterCard Agentic Payments — card-network agent rails
  • x402 — HTTP-native machine payment protocol
  • MPP — Machine Payment Protocol for batched agent settlement
  • MCP — Model Context Protocol server for direct AI agent integration

Reliability and security

Production hardening

  • Idempotency — CUID2-based idempotency keys on all wallet operations to prevent duplicate sends
  • Circuit breakers — individual breakers for external dependencies (Tempo, Solana RPC, Arc, Circle) so the system fails fast and recovers gracefully
  • Rate limiting — consistent-hash rate limiting per API key
  • Audit logging — every sensitive operation logged with a permanent timestamp and actor ID
  • Signed webhooks — HMAC-SHA256 on every outbound event

Monitoring

  • Sentry — real-time error tracking and performance monitoring
  • Pino — structured JSON logging for deep observability

Developer surface

ToolPurpose
TypeScript SDKAuto-generated from the OpenAPI specification — @rem-money/sdk
Python SDKFully typed, autocompletion
Go and RESTFirst-class clients for backend integration
MCP ServerModel Context Protocol server for direct AI agent integration
Developer DashboardManage API keys, webhooks, and transaction logs

Where each module sits

ModulePrimary chainSettlement model
StablecoinsTempo, Solana, Base, ArcMulti-chain routed
TokenisationTempo, Solana, Base, ArcIssuance + lifecycle on chosen rail
Compliance EngineCross-cuttingToken- and contract-layer enforcement
Settlement ZonesTempo (private)Encrypted state, public-rail bridge

Custom solutions

Off-the-shelf, the platform runs as a managed service. For institutions that need dedicated deployments or bespoke integration, REM ships custom infrastructure with you.

Private deployments

Single-tenant deployments inside your VPC, with dedicated keys, dedicated rate limits, and infrastructure isolation.

Bespoke SDKs

Custom SDKs in additional languages or wrapped into your internal developer platform — branded, scoped, and pre-integrated.

Core banking integration

Adapters into legacy core banking, ledger, treasury, and ERP systems — including reconciliation pipelines and accounting feeds.

Custom observability

Forwarders into your existing observability stack (Datadog, Splunk, Grafana), dashboards, and on-call runbooks.

Talk to engineering

Share your stack and your constraints. We’ll scope a custom infrastructure engagement.