-
Notifications
You must be signed in to change notification settings - Fork 0
Home
alxspiker edited this page Feb 24, 2024
·
10 revisions
Comprehensive documentation and development resources for building robust applications on the Pi Network. Enhance your understanding of Pi's APIs, SDK, and best practices to create seamless user experiences.
Let's build great Pi Network applications together!
- Pi Network API Documentation: Explore API endpoints for managing pioneer data, payments, and more API Reference
- Pi App Platform SDK Guide: Learn to integrate Pi functionality directly into your app SDK Reference
- Development Checklist: Follow our checklist for a smooth development process Get Started Checklist
- [Basic Login and Pay]
- [python-login-pay-subscriptions]
Follow these steps to register, configure, and launch your Pi Network app.
-
Download the Pi App:
-
Register for an account:
- Use a referral code. You can find them online.
-
Download and Sign into the Pi Browser:
-
Verify Email Address: (Required)
- Enter the Pi Mining App, click the ‘☰’ menu, and select "Profile".
-
Register your App and Configure Hosting:
- Enter App Name, Description, and select the Network (See our Pi Mainnet vs Testnet Page).
- Set up hosting on a third-party provider or Pi Network's Pi Engine.
-
Create a Wallet:
- Create a wallet at wallet.pi. Confirm access before continuing.
-
Code and Configure Your App
- Important: Use our demo as a starting point, especially for hackathons.
- Development URL: Enter the local host URL for sandbox testing.
-
Sandbox Mode:
- Set the sandbox flag to "true" in your FE code.
- Copy the sandbox code from the Pi Mining App utilities page.
-
Deploy and Validate
- Production URL: Enter your app's live URL.
-
Validate Domain Ownership: Add the provided key to a
validation-key.txt
file at your domain's root.
-
Test a Pi Transaction
- Process a User-to-App transaction to confirm everything is connected.
Prerequisites:
- Pi KYC Completion
- Mainnet Wallet
- Create a Mainnet Developer Portal Project
- Verify Mainnet App URL (Must be unique)
- Generate a New API Key (Testnet keys won't work)
- Launch and Test!
- Mainnet Payments: A migrated wallet is required on the user's end.
- Developer Terms of Service: Ensure your app stays compliant.
NAVIGATION
REFERENCES
TOPICS
- What is PiNet?
- What is PiWallet?
- Mainnet vs. Testnet
- Chat Room for your App
- Payments Overview and Workflow
Terms
White Paper