Pi SDK Rails
A Rails engine from pi-apps
No ratings yet
- Gem
- pi-sdk-rails
- Repository
- pi-apps/pi-sdk-rails
- Stars
- 19
- Added
- August 10, 2026
About
This gem lets you quickly integrate the Pi Network payment/identity SDK into your Rails application. It automates nearly all the configuration and backend logic for a secure, full-stack Pi Network payments workflow, lifecycle callbacks, and user/transaction associations for your app. It is part of the "Ten Minutes to Transactions" effort described in this video.
What you get
- Stimulus controller/API endpoints/user+transaction models prebuilt
- Pi payment lifecycle: approve, complete, cancel, error, and incomplete callbacks handled server-side
- Automatic user association:
pi_usernameand order references - Your database is kept in sync with all Pi payment events
- All Pi SDK config in YAML and environment variables; never commit secrets
Installing it
ruby
# Gemfile
gem "pi-sdk-rails"
Details
19 stars on GitHub · maintained by pi-apps. Source: https://github.com/pi-apps/pi-sdk-rails
Discussion (0)
Sign in to join the discussion.
No comments yet.