What does "deploy" mean in plain language?
Imagine the Bayanihan rules are a barangay charter β a set of official agreements everyone follows. Deploying means uploading these digital rulebooks onto the blockchain so they become permanent, tamper-proof, and automatic. Nobody can secretly change the rules afterwards.
What this does: Deploys all 7 core contracts (BayaniToken, QuantumIdentity, National Treasury, FarmerProsperity, FreelancerEscrow, and more). Then it automatically gives the right permissions to each contract β like handing out official barangay stamps.
What is a "Soulbound Token" (SBT)?
Think of your PhilSys National ID β it belongs exclusively to you and can't be sold or given to someone else. An SBT is a digital version of that on the blockchain. It proves you're a verified Filipino citizen in a specific role (like Farmer or Freelancer) without exposing your personal data publicly. Your identity earns you access β it can never be traded or speculated on.
What this does: Two citizens get registered β a Farmer (type 1) and a Freelancer (type 4). A Government Validator then stamps them as verified. The freelancer also gets an AI Reputation Score of 85/100 based on past work history. This score will lower their contract fees automatically.
Why does the farmer earn more for organic produce?
Organic farming is better for the land, healthier for Filipinos, and harder to produce. The Bayanihan smart contract automatically doubles the reward (from 10 to 20 BAYANI) when a farmer certifies their produce as organic β no middleman decides this, the code enforces it automatically. Climate-friendly practices earn an additional bonus.
Also creates: A digital Crop Certificate NFT β a unique certificate that proves this exact harvest exists, who grew it, when, and where. This certificate can then be listed on the Direct-to-Consumer Marketplace so buyers can purchase it directly from the farmer.
Next β selling on the marketplace: The farmer lists the Crop NFT at 500 BAYANI. A buyer pays directly. When delivery is confirmed, the farmer earns 30 more BAYANI (3Γ Direct-to-Consumer bonus). The NFT locks in the contract so it can't be double-sold.
How does the Escrow protect both the client and the freelancer?
Imagine hiring a web developer but being afraid they won't deliver, or a developer afraid the client won't pay. The Bayanihan smart contract acts like a trusted third party that everyone agrees to in advance. The client's budget is locked inside the digital contract. The freelancer only gets paid after submitting work AND the client approves each milestone. No one can cheat.
If there's a dispute: Either party can raise a flag. A designated Arbitrator (like a barangay mediator) reviews the case and splits the funds fairly. The losing party's reputation score is automatically reduced to discourage bad behavior.
What does this show?
After running all simulation steps, this shows every BAYANI token movement β who earned what, how fees were applied, and how the Treasury distributed rewards. It's a complete audit trail that proves the system works transparently.
What's next after this simulation? Deploy to an EVM testnet (Polygon Amoy or Sepolia)
using the command npx hardhat run scripts/deploy.js --network sepolia
and interact with it using a real MetaMask wallet. The main portal at frontend/index.html connects directly.
Live Activity Log
Your blockchain activity
will appear here in real-time.
Start with Step 1 above β