InvoFlow

SolidityChainlinkERC-3525ReactNode.jsBase Sepolia

A full-stack Web3 platform that tokenizes SME invoices as on-chain assets, enabling fractional investor funding and transparent yield settlement.

InvoFlow converts verified GST invoices into ERC-3525 semi-fungible tokens on Base Sepolia. Small and medium businesses in India wait 30–90 days to get paid on invoices while cash flow runs dry — InvoFlow solves this by letting investors fund invoices fractionally and earn yield when the corporate buyer settles, all enforced by smart contracts with no intermediary.

The pipeline starts with an AI invoice parser (PyMuPDF) that extracts all fields from a PDF upload. Chainlink Functions then verifies the GST IRN against the Indian tax authority API off-chain via a decentralized oracle network. On a valid response, ChainlinkGSTVerifier.sol auto-mints an InvoToken (ERC-3525 SFT), opening a fractional ETH investment window through FundingPool.sol. Investors fund via MetaMask or Razorpay UPI/Card, and on corporate buyer settlement, yield is distributed on-chain to all funders proportionally.

Key smart contracts include InvoToken.sol (ERC-3525 SFT with IRN uniqueness enforcement), FundingPool.sol (per-investor position tracking, funding deadlines, yield distribution, and a platform backstop cron), ChainlinkGSTVerifier.sol (GST API verification via Chainlink DON), InvoPaymaster.sol (ERC-4337 paymaster for gasless SME transactions), and RiskScoreVerifier.sol (Groth16 ZK proof verification for risk score attestation without exposing raw financial data on-chain).

Additional features include a dynamic risk engine that computes a trust score (0–100) per corporate buyer from payment history and invoice legitimacy, directly setting yield rates of 7–15% APY, a secondary market for trading positions before maturity, role-based dashboards for SMEs and investors, and a platform backstop that automatically fills underfunded invoices using platform capital to guarantee SME payouts.

Live Preview