Páginas

sábado, 15 de octubre de 2022

How to develop a Pi App in Pi Network's Blockchain? #web3 #pinetwork #piapps #blockchain

I used Odoo to develop this Pi App:


You maybe could use your Framework election.

This is the official documentation to build a Pi App with Pi API Platform:


Official Pi App Demo example code:


And the following is my Working Example for receiving Payments User2App in Pi Platform:

This is for client side (HTML, JavaScript):


This is for server side (PHP):


To make it works, in server1.php, you need to change the app code as auth_app1 by the one coming from client request. Example: if you have auth_example in client JavaScript side, you must set it in server1.php.

And you need to implement authentication:


Plus, you can implement the Sharing Social Network dialog in JavaScript:



Check here:

No hay comentarios:

Publicar un comentario