Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

P2Pay

Open-source multi-rail P2P payment infrastructure built on BTCPay Server, enabling KYC-free fiat-to-Bitcoin settlement with self-custodial merchant control.

Open-source multi-rail Bitcoin payment infrastructure where merchants accept fiat and crypto while always receiving final settlement in bitcoin.

P2Pay is a modular, self-custodial payment architecture built on top of BTCPay Server and peer-to-peer rails.
It is designed for censorship-resistant, high-risk and cross-border use cases.


Core Principles

  • Settlement-first architecture (bitcoin as final layer)
  • Multi-rail routing (fiat, cards, P2P, crypto)
  • Self-custodial by default
  • Vendor-neutral
  • KYC-free where legally possible
  • Designed for failure scenarios, not marketing demos

Features

  • BTCPay Server integration (Greenfield API)
  • Bitcoin on-chain payments
  • Lightning Network support
  • USDt on TRON
  • Fiat-to-BTC flows via P2P rails
  • Modular rail integrations (Peach, RoboSats, others)
  • Single-user booking, invoicing and ecommerce flows
  • API-first architecture
  • Designed for embeddable deployments

Target Users

  • Bitcoin-native builders who want fiat reach without touching fiat custody
  • High-risk legal businesses (adult, legal cannabis, grey-zone fintech)
  • Unbanked or sanctioned regions lacking access to Stripe-like gateways
  • Emerging markets (LATAM, Africa, cross-border freelancers)
  • Infrastructure teams building settlement-first payment systems

Payment Rails (Architecture Overview)

Bitcoin

  • On-chain
  • Lightning Network
  • No protocol-level limits

USDt

  • TRON (via BTCPay plugin)

Fiat (via P2P)

  • Local rails aggregated through P2P platforms
  • Merchant-defined fee (typically 5–7%)
  • Per-transaction limits depend on rail

Cards (experimental / under evaluation)

  • Redirect-based card → BTC settlement
  • KYC-free thresholds where supported
  • Architecture designed to isolate chargeback risk

Status

  • Booking-first development strategy
  • Market liquidity aggregation live
  • P2P rail integrations modular and extensible
  • Credit/debit card rails under evaluation
  • Marketplace (multi-tenant) architecture planned

Active Repositories


Multi-rail Bitcoin P2P offer comparator and spread index.

Live deployment: https://market.p2pay.to

language Stars Forks


Multi-rail booking system with final settlement in bitcoin.

Live deployment: https://booking-template.p2pay.to

language Stars Forks


Nitro server integration layer for RoboSats rail.

language Stars Forks


Nuxt integration layer for RoboSats authentication and client-side flows.

language Stars Forks


BTCPay Server plugin enabling P2P rail integrations (Peach-based).

language Stars Forks


To get support

Wiki
Discussions
Telegram group


Commercial advisory

This is a non-profit open-source project under active development.

For teams looking for production-ready, commercial payment architecture solutions today, Blockchange provides independent multi-rail payment advisory: https://www.blockchange.expert/en/#book

Popular repositories Loading

  1. booking-template booking-template Public

    Multi-rail booking application accepting bitcoin and fiat payments, with final settlement always in bitcoin for the merchant. Built with Nuxt 3 and Nitro, integrated with BTCPay Server (Greenfield ...

    Vue 14 2

  2. p2pay-website p2pay-website Public archive

    Invoice, ecommerce and booking system supporting bitcoin, fiat and crypto with the merchant always receiving bitcoin. Developed with Nuxt3 framework, Nitro server, Btcpay Greenfield api, Peach api ...

    Vue 3 1

  3. market-nuxt market-nuxt Public

    Multi-rail Bitcoin P2P offer comparator & spread index (UI + API). Designed to power p2pay-core liquidity-aware routing.

    JavaScript 3 2

  4. p2pay-cloud p2pay-cloud Public archive

    JavaScript 1

  5. peachclient-net peachclient-net Public

    Peach Bitcoin API .NET client

    C# 1

  6. tor-proxy-nitro tor-proxy-nitro Public

    A minimal Nitro-based Tor HTTP proxy, designed to expose .onion services through a controlled server-side endpoint.

    JavaScript 1

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 19 repositories

Top languages

Loading...

Most used topics

Loading...

AltStyle によって変換されたページ (->オリジナル) /