With the help of Pi SDK and Pi API, you can create applications that run within the Pi browser, which can be used by other Pioneers. Pi Developer Portal is where you can register and configure your apps so that it can be connected to the Pi Blockchain.
The Pi Developer Portal can be accessed using the Pi Browser. Go to pi://develop.pinet.com to visit the Pi Developer Portal. When you first get to the main page, you won’t see any app. To register your app, tab on the “New App” button.
Initially you’re asked to fill in 3 required fields. The “App Network” option lets you select the host blockchain network that your app is connecting to. Depending on this option, Pi SDK will automatically connect your app to the corresponding network, either to Pi Mainnet or Pi Testnet. Note that an app can only connect to one network at a time, and once you register the app, this option cannot be changed. What this means is you’re advised to create two different apps, one with testnet for testing purposes and one with mainnet for your production usage.
After you register your app, you can see your app in detail. Each app has its own “App Checklist”, which helps you keep track of required steps to successfully set up your app. To see the checklist, tap on the “Checklist” button.
The checklist steps will be unlocked sequentially as you complete each step. The first step is to configure the hosting option.
The next step for checklist is connecting a wallet to the app. Follow the instruction to create the app and connect it to your app.
When you connect your app wallet to your app, the next step – “Code Your App” – will show you documentations that you can go over to get started with coding. From here, you can have a look and follow the remaining steps to fully configure the app.
If you registered your app to connect to the Pi Testnet and if you visit your app in the Pi Browser, it will show the black and yellow stripe at the top to indicate that this app is connected to the Pi Testnet.
Projects that existed prior to the launch of the Pi Mainnet SDK will point to the Pi Testnet