From 97ef582c9d0c1dae609fda525f57311da9414dc5 Mon Sep 17 00:00:00 2001 From: PinoyQ8 Date: Sun, 26 Apr 2026 23:50:04 +0300 Subject: [PATCH 1/6] feat: implement core MESH logic (20% Mandate & 60/30/10 split) --- apps/bazaar-dao-ecosystem/Cargo.toml | 14 +++++++++++ apps/bazaar-dao-ecosystem/src/lib.rs | 37 ++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 apps/bazaar-dao-ecosystem/Cargo.toml create mode 100644 apps/bazaar-dao-ecosystem/src/lib.rs diff --git a/apps/bazaar-dao-ecosystem/Cargo.toml b/apps/bazaar-dao-ecosystem/Cargo.toml new file mode 100644 index 00000000..506a1d8e --- /dev/null +++ b/apps/bazaar-dao-ecosystem/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "bazaar-dao-mesh" +version = "0.1.0" +edition = "2021" + +[lib] +crate-type = ["cdylib"] + +[dependencies] +soroban-sdk = "20.0.0" # Current standard for Open Mainnet 2026 + +[profile.release] +opt-level = "z" +overflow-checks = true \ No newline at end of file diff --git a/apps/bazaar-dao-ecosystem/src/lib.rs b/apps/bazaar-dao-ecosystem/src/lib.rs new file mode 100644 index 00000000..1dd01faf --- /dev/null +++ b/apps/bazaar-dao-ecosystem/src/lib.rs @@ -0,0 +1,37 @@ +#![no_std] +use soroban_sdk::{contract, contractimpl, Env, Symbol, log}; + +#[contract] +pub struct BazaarMesh; + +#[contractimpl] +impl BazaarMesh { + /// Executes the 20% Reciprocity Mandate and 60/30/10 Split + pub fn execute_trade(env: Env, amount: i128) -> (i128, i128, i128, i128) { + // 1. Calculate 20% Fee with a 1 mBZR Sovereign Minimum + let mut total_fee = (amount * 20) / 100; + if total_fee < 1 { + total_fee = 1; + } + + // 2. The 60/30/10 Split Logic + let treasury_cut = (total_fee * 60) / 100; // 60% to Backing + let social_cut = (total_fee * 30) / 100; // 30% to Wellness + + // 3. Remainder Sweep to Legal (Dust Protection) + let legal_cut = total_fee - treasury_cut - social_cut; + + let merchant_net = amount - total_fee; + + log!(&env, "MESH: Trade Executed. Fee Split: T:{}, S:{}, L:{}", treasury_cut, social_cut, legal_cut); + + (merchant_net, treasury_cut, social_cut, legal_cut) + } + + /// Heartbeat check for the 9 Elders (Security Circle) + pub fn check_elder_status(env: Env, elder_id: Symbol) -> bool { + // Placeholder for MESH Adjudicator logic + // In production, this checks for uptime/activity + true + } +} \ No newline at end of file From 9c87c59cbe1e16538b443a8f40cadf3f5b84935a Mon Sep 17 00:00:00 2001 From: PinoyQ8 Date: Sun, 26 Apr 2026 23:59:30 +0300 Subject: [PATCH 2/6] docs: add Bazaar DAO to the human-readable app list --- list.md | 1 + 1 file changed, 1 insertion(+) diff --git a/list.md b/list.md index 52ebdf0b..23af6b67 100644 --- a/list.md +++ b/list.md @@ -84,3 +84,4 @@ To add your project to the list follow the instructions [here](/README.md) | BLIYYAN | A marketplace that was founded at the urging of pioneers who needed a means to exchange pi currency for the goods and services they needed.We are ready to serve and provide all pioneer needs, we will immediately present all product proposals on our market.Together we fight for the success of the PiNet project. | Marketplace | PHP/Laravel, JS/Vue, DB/Mysql | [bliyyaan](https://github.com/bliyyaan/bliyyaan) | [https://brainstorm.pinet.com/project/67a468399b2522003c31de97](https://brainstorm.pinet.com/project/67a468399b2522003c31de97) | [BLIYYAAN TESTNET](https://test.bliyyaan.com) | [BLIYYAN MAINNET](https://bliyyaan.com) | | BLJ FOR PI| Berkah Lestari Jambi (BLJ FOR PI) is a application used to conduct buying and selling transactions using Pi as the means of payment | Marketplace | ReactJS - Laravel, MYSQL| [BLJ FOR PI](https://github.com/Berkahlestarijambi/Berkahlestarijambi)| [https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295](https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295)|[Testnet](https://testnet.bljambi.com)|[Mainnet](https://mainet.bljambi.com) | | Orbit | Post once, share everywhere, track growth, and get AI insights. Your all-in-one social management tool. | Business tool | JS/React | [Orbit](https://github.com/pi-apps/orbit) | https://brainstorm.pinet.com/project/68c9638fd8dec8dc8f3bce00 | [Testnet](https://orbit-test.web.app) | [Mainnet](https://tryorbit.web.app) | +| Bazaar DAO Ecosystem | Sovereign Layer-2 DAO with 20% Reciprocity Mandate and 5-Tier Equilibrium. | Ecosystem/Smart Contracts | \ No newline at end of file From b8de6bd6954842571ae5c5f260b5283d2312b9d5 Mon Sep 17 00:00:00 2001 From: Bazaar Founder & Co-Pioneer <85243970+PinoyQ8@users.noreply.github.com> Date: Thu, 30 Apr 2026 22:09:08 +0300 Subject: [PATCH 3/6] Update copyright year and holder in LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 204eb384..b08dcb37 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ PiOS License -Copyright (C) +Copyright (c) 2026 Bazaar Founder & Co-Pioneer (Project Bazaar DAO) Permission is hereby granted by the application software developer (“Software Developer”), free of charge, to any person obtaining a copy of this application, software and associated From 4eae49c799b30a89df9380dfeee32feeaf1df034 Mon Sep 17 00:00:00 2001 From: Bazaar Founder & Co-Pioneer <85243970+PinoyQ8@users.noreply.github.com> Date: Thu, 30 Apr 2026 22:10:50 +0300 Subject: [PATCH 4/6] Update Bazaar DAO Ecosystem entry in list.md --- list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.md b/list.md index 23af6b67..e70026df 100644 --- a/list.md +++ b/list.md @@ -84,4 +84,4 @@ To add your project to the list follow the instructions [here](/README.md) | BLIYYAN | A marketplace that was founded at the urging of pioneers who needed a means to exchange pi currency for the goods and services they needed.We are ready to serve and provide all pioneer needs, we will immediately present all product proposals on our market.Together we fight for the success of the PiNet project. | Marketplace | PHP/Laravel, JS/Vue, DB/Mysql | [bliyyaan](https://github.com/bliyyaan/bliyyaan) | [https://brainstorm.pinet.com/project/67a468399b2522003c31de97](https://brainstorm.pinet.com/project/67a468399b2522003c31de97) | [BLIYYAAN TESTNET](https://test.bliyyaan.com) | [BLIYYAN MAINNET](https://bliyyaan.com) | | BLJ FOR PI| Berkah Lestari Jambi (BLJ FOR PI) is a application used to conduct buying and selling transactions using Pi as the means of payment | Marketplace | ReactJS - Laravel, MYSQL| [BLJ FOR PI](https://github.com/Berkahlestarijambi/Berkahlestarijambi)| [https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295](https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295)|[Testnet](https://testnet.bljambi.com)|[Mainnet](https://mainet.bljambi.com) | | Orbit | Post once, share everywhere, track growth, and get AI insights. Your all-in-one social management tool. | Business tool | JS/React | [Orbit](https://github.com/pi-apps/orbit) | https://brainstorm.pinet.com/project/68c9638fd8dec8dc8f3bce00 | [Testnet](https://orbit-test.web.app) | [Mainnet](https://tryorbit.web.app) | -| Bazaar DAO Ecosystem | Sovereign Layer-2 DAO with 20% Reciprocity Mandate and 5-Tier Equilibrium. | Ecosystem/Smart Contracts | \ No newline at end of file +| Ecosystem / Smart Contracts | Bazaar Republic | Sovereign Layer-2 DAO with 20% Reciprocity Mandate and 5-Tier Equilibrium. | Next.js, TypeScript, Rust, Soroban | [Brainstorm Proposal](https://brainstorm.pinet.com/project/69bfbc2ee8b9b689fe4511d8) | From 64521af45c185c9c36c6cb333472b9988ae28dd7 Mon Sep 17 00:00:00 2001 From: Bazaar Founder & Co-Pioneer <85243970+PinoyQ8@users.noreply.github.com> Date: Tue, 5 May 2026 19:15:45 +0300 Subject: [PATCH 5/6] Refine Bazaar Republic entry in list.md Updated the description of Bazaar Republic to include additional features and changed its category to Ecosystem Tools. --- list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.md b/list.md index e70026df..9bcc6855 100644 --- a/list.md +++ b/list.md @@ -84,4 +84,4 @@ To add your project to the list follow the instructions [here](/README.md) | BLIYYAN | A marketplace that was founded at the urging of pioneers who needed a means to exchange pi currency for the goods and services they needed.We are ready to serve and provide all pioneer needs, we will immediately present all product proposals on our market.Together we fight for the success of the PiNet project. | Marketplace | PHP/Laravel, JS/Vue, DB/Mysql | [bliyyaan](https://github.com/bliyyaan/bliyyaan) | [https://brainstorm.pinet.com/project/67a468399b2522003c31de97](https://brainstorm.pinet.com/project/67a468399b2522003c31de97) | [BLIYYAAN TESTNET](https://test.bliyyaan.com) | [BLIYYAN MAINNET](https://bliyyaan.com) | | BLJ FOR PI| Berkah Lestari Jambi (BLJ FOR PI) is a application used to conduct buying and selling transactions using Pi as the means of payment | Marketplace | ReactJS - Laravel, MYSQL| [BLJ FOR PI](https://github.com/Berkahlestarijambi/Berkahlestarijambi)| [https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295](https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295)|[Testnet](https://testnet.bljambi.com)|[Mainnet](https://mainet.bljambi.com) | | Orbit | Post once, share everywhere, track growth, and get AI insights. Your all-in-one social management tool. | Business tool | JS/React | [Orbit](https://github.com/pi-apps/orbit) | https://brainstorm.pinet.com/project/68c9638fd8dec8dc8f3bce00 | [Testnet](https://orbit-test.web.app) | [Mainnet](https://tryorbit.web.app) | -| Ecosystem / Smart Contracts | Bazaar Republic | Sovereign Layer-2 DAO with 20% Reciprocity Mandate and 5-Tier Equilibrium. | Next.js, TypeScript, Rust, Soroban | [Brainstorm Proposal](https://brainstorm.pinet.com/project/69bfbc2ee8b9b689fe4511d8) | +| Bazaar Republic | Sovereign Layer-2 DAO with 20% Reciprocity Mandate, 5-Tier Equilibrium, and Type-2 Defense Node (Self-Custodial Wallet Shield). | Ecosystem Tools | Next.js, TypeScript, Rust, Soroban | TBD | https://brainstorm.pinet.com/project/69bfbc2ee8b9b689fe4511d8 | https://bazaar-academy.vercel.app | (When available) | From adc30a2c6f0e9873feb27a2e097b8895129e5e40 Mon Sep 17 00:00:00 2001 From: Bazaar Founder & Co-Pioneer <85243970+PinoyQ8@users.noreply.github.com> Date: Tue, 8 Sep 2026 22:45:05 +0300 Subject: [PATCH 6/6] Rename Bazaar Republic to Bazaar Republic Alpha Updated the entry for Bazaar Republic to Bazaar Republic Alpha with new details. --- list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.md b/list.md index 9bcc6855..e1eb8ac3 100644 --- a/list.md +++ b/list.md @@ -84,4 +84,4 @@ To add your project to the list follow the instructions [here](/README.md) | BLIYYAN | A marketplace that was founded at the urging of pioneers who needed a means to exchange pi currency for the goods and services they needed.We are ready to serve and provide all pioneer needs, we will immediately present all product proposals on our market.Together we fight for the success of the PiNet project. | Marketplace | PHP/Laravel, JS/Vue, DB/Mysql | [bliyyaan](https://github.com/bliyyaan/bliyyaan) | [https://brainstorm.pinet.com/project/67a468399b2522003c31de97](https://brainstorm.pinet.com/project/67a468399b2522003c31de97) | [BLIYYAAN TESTNET](https://test.bliyyaan.com) | [BLIYYAN MAINNET](https://bliyyaan.com) | | BLJ FOR PI| Berkah Lestari Jambi (BLJ FOR PI) is a application used to conduct buying and selling transactions using Pi as the means of payment | Marketplace | ReactJS - Laravel, MYSQL| [BLJ FOR PI](https://github.com/Berkahlestarijambi/Berkahlestarijambi)| [https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295](https://brainstorm.pinet.com/project/671ccd37ed1252004d30e295)|[Testnet](https://testnet.bljambi.com)|[Mainnet](https://mainet.bljambi.com) | | Orbit | Post once, share everywhere, track growth, and get AI insights. Your all-in-one social management tool. | Business tool | JS/React | [Orbit](https://github.com/pi-apps/orbit) | https://brainstorm.pinet.com/project/68c9638fd8dec8dc8f3bce00 | [Testnet](https://orbit-test.web.app) | [Mainnet](https://tryorbit.web.app) | -| Bazaar Republic | Sovereign Layer-2 DAO with 20% Reciprocity Mandate, 5-Tier Equilibrium, and Type-2 Defense Node (Self-Custodial Wallet Shield). | Ecosystem Tools | Next.js, TypeScript, Rust, Soroban | TBD | https://brainstorm.pinet.com/project/69bfbc2ee8b9b689fe4511d8 | https://bazaar-academy.vercel.app | (When available) | +| Bazaar Republic Alpha | Sovereign Layer-2 DAO with 20% Reciprocity Mandate, 5-Tier Equilibrium, DePIN SoloHost v2 (90% rolling SLA), and native Server-to-Server (S2S) verification ports (Python & PHP) protecting off-chain micro-commerce. | Ecosystem Tools | TypeScript (Next.js, React), Tailwind CSS, Prisma, MongoDB, Rust (Soroban), Python 3.12, PHP 8.x | TBD | https://brainstorm.pinet.com/project/69bfbc2ee8b9b689fe4511d8 | https://bazaar-academy.vercel.app | (When available) |