KnowledgeFlow is a peer-to-peer knowledge marketplace that enables experts to get paid per second for their time through continuous, trustless streaming payments — built on Stellar + Soroban.
Instead of hourly invoices, subscriptions, or platform-controlled payouts, KnowledgeFlow streams payments directly from knowledge seekers to experts only while value is being delivered.
The global consulting and knowledge economy is broken:
- Experts wait days or weeks to get paid
- Platforms take 20–30% commissions
- Users must trust upfront payments for uncertain quality
- Micro-consultations (5–20 minutes) are economically inefficient
KnowledgeFlow solves this with real-time, usage-based payments.
- Connect — Users and experts connect a Stellar wallet (Freighter)
- Discover — Seekers browse verified experts by skill and availability
- Start Session — Funds are locked in a Soroban escrow contract; payment streams per second
- Consult — Video call or async session while payments flow continuously
- Settle — Session ends → stream stops → expert keeps exactly what they earned → unused funds refunded instantly
| Layer | Technology |
|---|---|
| Frontend | Next.js 14, React, Tailwind CSS |
| Blockchain | Stellar, Soroban smart contracts |
| Wallet | Freighter |
| Backend | Node.js / Express (off-chain metadata) |
knowledgeflow-dapp/
├── frontend/ # Next.js application
│ ├── src/
│ │ ├── app/ # App Router pages
│ │ ├── components/ # UI components
│ │ ├── hooks/ # Custom React hooks
│ │ ├── lib/ # Stellar/Soroban SDK helpers
│ │ └── types/ # TypeScript types
│ └── public/
├── contracts/ # Soroban smart contracts (Rust)
│ └── src/
├── backend/ # Off-chain metadata API
│ └── src/
├── .github/
│ ├── workflows/ # CI/CD
│ └── ISSUE_TEMPLATE/
├── CONTRIBUTING.md
├── CODE_OF_CONDUCT.md
└── SECURITY.md
- Node.js ≥ 18
- Rust +
cargo(for contracts) - Freighter Wallet browser extension
- Stellar testnet account
cd frontend
npm install
cp .env.example .env.local
npm run devVisit: http://localhost:3000
cd contracts
cargo build --target wasm32-unknown-unknown --releasecd backend
npm install
cp .env.example .env
npm run dev| Prefix | Purpose |
|---|---|
feat/ |
New features |
fix/ |
Bug fixes |
refactor/ |
Code refactors |
docs/ |
Documentation |
Examples: feat/session-timer-ui, fix/wallet-reconnect
Contributions are welcome from anyone interested in:
- Stellar & Soroban development
- Creator monetization infrastructure
- Open payment systems
Please read CONTRIBUTING.md before opening a pull request.
KnowledgeFlow is under active development. Current focus:
- Streaming payment logic
- Expert session lifecycle
- UX abstraction for non-crypto users
MIT © KnowledgeFlow contributors