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 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 diff --git a/list.md b/list.md index 52ebdf0b..e1eb8ac3 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 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) |