Hosted P2P Message Box

    Federated, end-to-end encrypted relay infrastructure that keeps your BSV & Metanet users connected — no matter the network.

    Why direct P2P is hard

    • NAT & Firewalls

      Direct peer connections often fail behind carrier-grade NAT or corporate firewalls.

    • Device Availability

      Phones sleep, laptops disconnect—messages still need guaranteed delivery.

    • Privacy & Trust

      Relaying through third-party SaaS introduces attack vectors and data leakage.

    How Message Box solves it

    • Store-and-Forward

      Messages persist until acknowledged—no data loss when recipients are offline.

    • Live WebSockets

      Switches to push updates for sub-second chat & payment UX when both peers are online.

    • End-to-End Encryption

      Mutual-auth keys sign & decrypt—servers can't read payloads.

    • Micropayment-Powered

      Fractions of a cent per packet. No API keys to issue, just automatic SPV payments.

    • Federated Network

      Run your own node or use ours—servers discover each other and relay seamlessly.

    • Zero DevOps

      Babbage's production endpoint is the default inside the BSV TypeScript SDK.

    Build in five steps

    1. Install SDK

    `npm i @bsv/p2p @bsv/sdk` gives you MessageBoxClient in minutes.

    2. Send / List / Ack

    Three intuitive methods cover 95 % of use-cases.

    3. Go Real-Time

    `listenForLiveMessages()` upgrades UX with WebSockets transparently.

    4. Let Users Pay

    Micropayments are auto-signed from any BRC-100 wallet—no PCI scope.

    5. Optional Self-Host

    Spin up your own Message-Box server & join the federation.

    Case Study: P2P Voicemail

    Secure voice notes sent via Message Box—delivered even when friends are offline. See how we combined store-and-forward with on-chain micropayments for a seamless UX.

    Read the Case Study

    Monetize Your API Traffic Too

    Message Box is one building block in our pay-as-you-go toolkit. Explore how we help SaaS & data platforms charge sub-cent fees per request.

    Explore Monetization Solutions

    Ready to connect every user—instantly?

    Book a discovery session and ship a peer-to-peer prototype in under two weeks.