PiOS icon indicating copy to clipboard operation
PiOS copied to clipboard

Create PiOSbridge.js Pull Request Template for PiOS App List

Open josefkedwards opened this issue 10 months ago • 7 comments

🌉 Interchaining and Bridging Pi

🚀 Connecting Pi Network with Cosmos, BNB Chain, and Beyond

PiOS Badge
License
Status


🔥 Overview

Interchaining and Bridging Pi is an open-source project under the PiOS License, designed to bridge Pi Network to the Cosmos IBC ecosystem and BNB Chain. This integration enables:

Seamless cross-chain transfers between Pi, BNB, Cronos, Ethereum, and Cosmos chains.
Interoperability through IBC & Binance Bridge for moving assets.
Smart contract support for decentralized applications (dApps).
Increased liquidity for Pi tokens by connecting with external DeFi ecosystems.

This project is community-driven and not maintained by the Pi Core Team (Pi-CT).


🛠️ Features

🔹 IBC Integration – Enabling Pi transactions across Cosmos-based chains.
🔹 Binance Bridge Support – Wrapping Pi as a BEP20 token for BNB Chain.
🔹 Gravity Bridge / Peggy – Bridging Pi with Ethereum for ERC20 compatibility.
🔹 Relayer Automation – Handling cross-chain transfers seamlessly.
🔹 Decentralized dApp Support – Enabling Pi-powered applications on multi-chain.


🌍 Supported Blockchains

Blockchain Integration Method Status
Pi Network Native Chain ✅ Active
BNB Chain Binance Bridge (BEP20) 🔄 In Progress
Cronos Gravity Bridge / IBC 🔄 In Progress
Ethereum Gravity Bridge (ERC20) 🔄 In Progress
Cosmos Ecosystem IBC Protocol 🔄 In Progress

🏗️ Architecture

🔗 Bridging Workflow

1️⃣ User deposits Pi tokens into a bridge smart contract on Pi Network.
2️⃣ The bridge locks Pi tokens and mints wrapped versions on BNB/Cosmos.
3️⃣ Users can transfer wrapped Pi across BNB, Cosmos, Cronos, and Ethereum.
4️⃣ Reverse transactions allow Pi withdrawals back to Pi Network.

🛠 Tech Stack

  • Backend: Go (Cosmos SDK), Rust (IBC Relayer)
  • Smart Contracts: Solidity (Ethereum), CosmWasm (Cosmos)
  • APIs & Relayers: JavaScript (Web3.js, CosmJS)

🔥 Getting Started

📌 Clone the Repository

git clone https://github.com/pi-apps/interchaining-bridging-pi.git
cd interchaining-bridging-pi

josefkedwards avatar Feb 09 '25 01:02 josefkedwards

@bearycool11 @adityasripal @coderabbitai

ghost avatar Feb 09 '25 01:02 ghost

Nice I like this proposal

ghost avatar Feb 10 '25 07:02 ghost

@zolcsi @jiakuant1120

ghost avatar Feb 10 '25 07:02 ghost

https://github.com/pi-apps/PiOS/pull/276

ghost avatar Feb 14 '25 22:02 ghost

I would make sure there are two separate .js files, one named gravity bridge.js and this one fyi.

ghost avatar Feb 14 '25 22:02 ghost

Hi, We would need you to create a PR on this repository adding your application's information to the PiOS App List table. Follow the formatted row template given on that doc, and fill in the below information as incomplete submissions will be rejected. For further instructions you can find that here: https://github.com/pi-apps/PiOS

Sounds good I will get to that next

ghost avatar Feb 14 '25 22:02 ghost

git clone https://github.com/pi-apps/interchaining-bridging-pi.git cd interchaining-bridging-pi

03428414733 avatar Feb 18 '25 18:02 03428414733