ActivePiRC2

PiRC2 Subscription Contract API

Pi Network's first smart contract capability β€” Recurring subscription payment spec

RFC Status

Last Updated

Apr 17, 2026

Doc Commits

1

Smart Contracts

PiNetwork/SmartContracts β†—

github.com/PiNetwork/PiRC/PiRC2 β†—

Overview

PiRC2 (Pi Request for Comments #2) is Pi Network's first smart contract specification, published by Pi Core Team CTO Nicolas Kokkalis in April 2026. PiRC2 defines a Soroban-based Subscription Contract API β€” enabling merchants and users to establish automatic recurring payment subscriptions on the Pi blockchain.

PiRC2's core innovation leverages Soroban's token allowance mechanism, allowing subscription payments without requiring the user to re-sign each time, while funds remain in the subscriber's wallet and are only transferred at the time of actual billing. This solves the core challenge of recurring payments on traditional blockchains.

The reference implementation (source code) is in the PiNetwork/SmartContracts directory of the contracts/subscription/ repository, currently undergoing external security audit. OrbitWatch tracks all PiRC2 document updates in the PiNetwork/PiRC repository.

Recent Document Changes

View on GitHub β†—
dc86dfdApr 17, 2026

Introduction of PiRC2 Protocol Specification for Ecosystem Tokens

The Pi Network ecosystem is introducing PiRC2, a significant evolution of its protocol for launching...

β†—

Technical Spec

Subscription Model

  • βœ“Merchant service registration with configurable pricing
  • βœ“Subscriber opt-in with or without upfront commitment
  • βœ“Pre-approved token allowance via Soroban allowance mechanism

Billing & Lifecycle

  • βœ“Periodic charge processing without re-signing
  • βœ“Expiration ledger for budget horizon control
  • βœ“Subscription pause, resume, and cancellation flows

Smart Contract

  • βœ“Soroban-based reference implementation
  • βœ“transfer_from allowance draw-down per billing event
  • βœ“External audit in progress (PiNetwork/SmartContracts)

Governance

  • βœ“Community RFC via GitHub Issues
  • βœ“Core Team ratification process
  • βœ“Open-source reference implementation

Specification Documents

Timeline

2026-04-17

PiRC2 specification published by Pi CTO (Nicolas Kokkalis)

2026-04

Community RFC process started β€” GitHub Issues open

TBD

External smart contract audit completed

TBD

Final PiRC2 spec ratification by Core Team

TBD

Subscription Contract mainnet deployment

Deep Dive

Related

PiRC1 β€” Pi Launchpad / Ecosystem Token Design

Pi Network η”Ÿζ…‹δ»£εΉ£η™Όθ‘Œζ‘†ζžΆθ¦ζ Ό

β†’