Cross-platform native shell + local PWA for CoNET web3:// applications: browse and publish wallet-addressed sites, run TypeScript SI / host / L2 on-demand miner runtimes over a native socket bridge, store published files in IndexedDB, and update via Embedded OTA.
Not Electron. Protocol aligns with Layer Minus (
web3://) and CoNET-DLE L2 on-demand mining.
Repository: https://github.com/CoNET-project/web3
Status: MVP Phase 0 scaffold (stubs + docs)
| # | Role | TypeScript | Native |
|---|---|---|---|
| 1 | SI node (entry / forward / storage / SaaS) → earn GB | src/si |
sockets, background |
| 2 | Publish local site as web3://wallet:port |
src/web3Host + IndexedDB |
host bind |
| 3 | L2 on-demand miner (wait-hooks) | src/l2Miner |
HTTP/socket to archives |
| 4 | (open — see docs/mvp) | — | — |
- https://gitbook.conet.network/applications/web3-url.html
- https://gitbook.conet.network/applications/web3-browser.html (when deployed)
- https://gitbook.conet.network/l0/web3-application-protocol.html
- https://gitbook.conet.network/l2/
git clone https://github.com/CoNET-project/web3.git
cd web3
npm install
npm run typecheckdocs/
whitepaper/ EN + ZH product whitepaper
architecture/ system design (bridge, IndexedDB, OTA)
mvp/ phased MVP roadmap
public/ Embedded OTA update.json seed
src/
bridge/ NativeBridge contracts
storage/ IndexedDB site files
si/ SI runtime stub
web3Host/ web3:// host stub
l2Miner/ L2 on-demand stub
pwa/ Embedded OTA helpers
shared/ shared types
RULES.md Engineering rules
- Native shell + local PWA — same family as Beamio CashTrees / POS WebView shells.
- TypeScript owns protocol logic — SI / host / miner; native owns TCP/UDP and listen bind.
- IndexedDB for published files — local-first; untrusted fetch must not wipe trusted files.
- Embedded OTA —
public/update.json+ zip; shell polls the manifest. - Independent package — no cross-repo relative imports into sibling apps.
| Doc | Path |
|---|---|
| Engineering rules | RULES.md |
| Architecture | docs/architecture/README.md |
| Native bridge | docs/architecture/native-bridge.md |
| IndexedDB | docs/architecture/indexeddb-storage.md |
| PWA OTA | docs/architecture/pwa-ota.md |
| MVP phases | docs/mvp/roadmap.md |
| Whitepaper (EN) | docs/whitepaper/web3-browser.md |
| Whitepaper (ZH) | docs/whitepaper/web3-browser.zh-CN.md |
| Command | Description |
|---|---|
npm run typecheck |
TypeScript check |
npm run build |
tsc build |
npm test |
Node test runner (when tests exist) |
See repository license / CoNET project terms when published.