[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108714":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":14,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},108714,"block-roll","zeemscript\u002Fblock-roll","zeemscript","Non-custodial, encrypted file storage & sharing platform with Stellar payments and on-chain file notarization",null,"TypeScript",163,156,160,4,0,43.99,false,"main",true,[21,22,23,24,25,26,27,28,29,30],"blockdag","encryption","file-storage","freighter","nextjs","non-custodial","stellar","stellar-blockchain","typescript","web3","2026-11-05 21:42:10","2026-11-18 20:22:13","# 🎲 BlockRoll\n\n> Own. Encrypt. Share. Control.\n\nThe next generation of secure, decentralized file storage and sharing.\n\n**Live: [blockroll-gold.vercel.app](https:\u002F\u002Fblockroll-gold.vercel.app)** — try the [Stellar File Notary](https:\u002F\u002Fblockroll-gold.vercel.app\u002Fnotary) directly.\n\n---\n\n## ⭐ Stellar Integration\n\nBlockRoll uses [Stellar](https:\u002F\u002Fstellar.org) for two real, working features (not just a payment button), both client-side signed with [Freighter](https:\u002F\u002Fwww.freighter.app\u002F) - no backend, no custody.\n\n### 1. USDC Premium payments\n\n```\nUser clicks \"Get Premium\"\n        │\n        ▼\nFreighter wallet connects (requestAccess)\n        │\n        ▼\nBrowser builds a Payment operation (USDC, Circle's testnet issuer)\n        │\n        ▼\nFreighter prompts the user to sign - private key never leaves the wallet\n        │\n        ▼\nSigned transaction submitted to Horizon → Stellar Testnet ledger\n        │\n        ▼\nCheckout page links the tx hash on Stellar Expert\n```\nCode: [`new-frontend\u002Fsrc\u002Flib\u002Fstellar\u002Fpayment.ts`](new-frontend\u002Fsrc\u002Flib\u002Fstellar\u002Fpayment.ts), [`StellarPayButton.tsx`](new-frontend\u002Fsrc\u002Fcomponents\u002Fui\u002FStellarPayButton.tsx).\n\n### 2. Stellar File Notary ([try it live](https:\u002F\u002Fblockroll-gold.vercel.app\u002Fnotary))\n\nA free, standalone tool for proving a file existed, unmodified, at a point in time - without ever uploading the file anywhere.\n\n```\nFile selected in browser\n        │\n        ▼\nSHA-256 hash computed locally (Web Crypto API) - file itself never leaves the device\n        │\n        ▼\nHash written into a ManageData operation (key: \"blockroll_notary\")\n        │\n        ▼\nFreighter signs, transaction submitted to Horizon → Stellar Testnet ledger\n        │\n        ▼\nAnyone can later re-hash the same file and compare it against that transaction\nto verify it is byte-for-byte unchanged\n```\nCode: [`new-frontend\u002Fsrc\u002Flib\u002Fstellar\u002Fnotary.ts`](new-frontend\u002Fsrc\u002Flib\u002Fstellar\u002Fnotary.ts), [`new-frontend\u002Fsrc\u002Flib\u002Fstellar\u002Fhash.ts`](new-frontend\u002Fsrc\u002Flib\u002Fstellar\u002Fhash.ts), [`\u002Fnotary` page](new-frontend\u002Fsrc\u002Fapp\u002F(main)\u002F(landing)\u002Fnotary\u002Fpage.tsx).\n\nCurrently running on Stellar Testnet; see [`new-frontend\u002F.env.example`](new-frontend\u002F.env.example) for configuration, and [open issues](https:\u002F\u002Fgithub.com\u002Fzeemscript\u002Fblock-roll\u002Fissues) for what's next (XLM payments, batch notarization, tests).\n\n---\n\n## 🎨 Design Philosophy\n\nUsing **black, silver, and white gradients** with **glassmorphism** and **minimal shadows** gives BlockRoll that luxury tech vibe, like **Apple x Web3**.\n\n---\n\n## 🔑 Key Features\n\n- ✅ **Stellar-native payments & notarization** - wallet-signed, non-custodial, verifiable on a public ledger\n- ✅ **Non-custodial encrypted storage** - files are encrypted client-side; BlockRoll never holds the keys\n- ✅ **Share by wallet address**, with expiry dates and revocable access\n- ✅ **Bank-level security** on the backend - see below\n\n---\n\n## 📁 Project Structure\n\n```\nBlockRoll\u002F\n├── new-frontend\u002F      # Active Next.js app - live site, Stellar payments & notary (this is what's deployed)\n│\n├── contracts\u002F         # Solidity smart contracts (Foundry), for an EVM-compatible chain\n│   ├── Modular Solidity contracts\n│   ├── BlockDAG RPC configured\n│   └── Complete test suite\n│\n├── server\u002F            # Backend services (TypeScript)\n│   ├── 48 REST API endpoints\n│   ├── 26 WebSocket events\n│   ├── 20+ security features (Bank-level)\n│   ├── 9 database models\n│   └── Comprehensive documentation\n│\n├── frontend\u002F          # Older Next.js client (Reown AppKit wallet auth), being superseded by new-frontend\n│\n├── whatsapp\u002F          # AI-Powered FAQ Bot\n│   ├── Google Gemini AI integration\n│   ├── 50+ FAQ entries\n│   ├── 15+ quick commands\n│   └── 24\u002F7 automated support\n│\n├── blockroll-kit\u002F     # SDKs, CDN, and Plug & Play integration\n│   ├── ✅ Core SDK (@blockroll\u002Fcore) - BUILT\n│   ├── ✅ React SDK (@blockroll\u002Freact-sdk) - BUILT\n│   ├── ✅ Vue SDK (@blockroll\u002Fvue-sdk) - BUILT\n│   ├── ✅ CDN Bundle (blockroll.min.js) - BUILT\n│   ├── ✅ 3 Demo Apps (React, Vue, CDN) - BUILT\n│   └── ✅ Complete documentation (5,800+ lines)\n│\n└── README.md          # This file\n```\n\n---\n\n## 🛠️ Tech Stack\n\n- **Live frontend:** Next.js 15 (App Router), TypeScript, Tailwind, Framer Motion\n- **Stellar:** `@stellar\u002Fstellar-sdk`, `@stellar\u002Ffreighter-api` - USDC payments, file notarization via `ManageData`\n- **Backend:** Node.js + TypeScript + Express\n- **Auth:** NextAuth (Google) on the live frontend; Reown AppKit (wallet connect) on the older `frontend\u002F`\n- **Real-Time:** Socket.IO WebSocket (server)\n- **Database:** MongoDB + Mongoose\n- **Blockchain:** Stellar (payments + file notarization), BlockDAG (smart contracts in `contracts\u002F`)\n- **Storage:** IPFS\n- **Smart Contracts:** Foundry (Solidity)\n- **Security:** Bank-level (20+ features)\n\n## 🔒 Security - Bank-Level\n\nBlockRoll implements **20+ enterprise security features** used by financial institutions:\n\n✅ **httpOnly Cookie Auth** - XSS protection  \n✅ **Auto Token Refresh** - Seamless like banking apps  \n✅ **Brute Force Protection** - Auto-lock after 5 attempts  \n✅ **Device Fingerprinting** - Track all devices  \n✅ **Suspicious Activity Detection** - AI-powered anomaly detection  \n✅ **Real-Time Security Alerts** - Instant WebSocket notifications  \n✅ **Multi-Device Session Management** - See all active sessions  \n✅ **Risk Scoring System** - 0-100 security score  \n✅ **Comprehensive Audit Logs** - Full compliance trail  \n✅ **AES-256-GCM Encryption** - Military-grade  \n\n**Security Rating: 95\u002F100** (Bank-level) 🏆\n\nSee [server\u002FBANK_LEVEL_SECURITY.md](server\u002FBANK_LEVEL_SECURITY.md) for details.\n\n---\n\n## 🤖 AI WhatsApp Support Bot\n\nBlockRoll includes an **AI-powered WhatsApp bot** for 24\u002F7 customer support!\n\n### Features\n- ✅ **Google Gemini AI** - Advanced natural language understanding\n- ✅ **50+ FAQ Entries** - Comprehensive knowledge base\n- ✅ **15+ Quick Commands** - Instant answers\n- ✅ **Conversation Memory** - Context-aware responses\n- ✅ **Multilingual Ready** - Easy to add languages\n- ✅ **Fallback System** - Works even if AI is offline\n\n### Quick Commands\n```\n!ask \u003Cquestion>    - Ask AI anything\n!help              - Get help menu\n!upload            - How to upload files\n!security          - Security features\n!features          - All features\n!start             - Getting started\n!contact           - Contact info\n```\n\n### Setup\n```bash\ncd whatsapp\nnpm install\ncp env.example .env  # Add your GEMINI_API_KEY\nnpm run dev          # Scan QR code with WhatsApp\n```\n\nSee [whatsapp\u002FREADME.md](whatsapp\u002FREADME.md) for complete documentation.\n\n---\n\n## 🎨 BlockRoll Kit (SDKs & Developer Tools)\n\n**Complete developer integration suite** for building apps with BlockRoll!\n\n### Available SDKs\n\n- ✅ **React SDK** - `@blockroll\u002Freact-sdk` - Hooks, TypeScript, SSR\n- ✅ **Vue SDK** - `@blockroll\u002Fvue-sdk` - Composables, Reactive\n- ✅ **CDN Bundle** - `\u003Cscript>` tag - Vanilla JS, Plug & Play\n\n### Quick Example\n\n**React:**\n```tsx\nimport { useBlockRoll } from '@blockroll\u002Freact-sdk';\n\nconst { uploadFile } = useBlockRoll();\nawait uploadFile({ file, accessType: 'private' });\n```\n\n**CDN:**\n```html\n\u003Cscript src=\"https:\u002F\u002Fcdn.blockroll.io\u002Fsdk\u002Fv1\u002Fblockroll.min.js\">\u003C\u002Fscript>\n\u003Cscript>\n  const blockroll = new BlockRoll({ apiKey: 'YOUR_KEY' });\n  await blockroll.files.upload({ file, accessType: 'private' });\n\u003C\u002Fscript>\n```\n\n### Documentation\n\n| Document | Purpose | Lines |\n|----------|---------|-------|\n| [SDK_DESIGN.md](blockroll-kit\u002FSDK_DESIGN.md) | Complete usage guide | 1000+ |\n| [ADVANCED_EXAMPLES.md](blockroll-kit\u002FADVANCED_EXAMPLES.md) | Production examples | 800+ |\n| [TECHNICAL_ARCHITECTURE.md](blockroll-kit\u002FTECHNICAL_ARCHITECTURE.md) | Implementation guide | 600+ |\n| [SDK_COMPARISON.md](blockroll-kit\u002FSDK_COMPARISON.md) | SDK comparison | 500+ |\n| [COMPLETE_SDK_GUIDE.md](blockroll-kit\u002FCOMPLETE_SDK_GUIDE.md) | Master reference | 600+ |\n| [USAGE_EXAMPLES_MASTER.md](blockroll-kit\u002FUSAGE_EXAMPLES_MASTER.md) | All code examples | 800+ |\n| [IMPLEMENTATION_ROADMAP.md](blockroll-kit\u002FIMPLEMENTATION_ROADMAP.md) | Build roadmap | 400+ |\n\n**Total:** 4,700+ lines of SDK documentation! 📚\n\n### Key Features\n\n✅ **API Key-Based** - Wallet tied to API key (never pass wallet!)  \n✅ **Type-Safe** - Full TypeScript support  \n✅ **Real-Time** - WebSocket notifications built-in  \n✅ **Multiple Frameworks** - React, Vue, Vanilla JS  \n✅ **Production-Ready** - Battle-tested patterns  \n✅ **Well-Documented** - Complete examples for every operation  \n\nSee [blockroll-kit\u002FREADME.md](blockroll-kit\u002FREADME.md) for complete SDK documentation.\n\n---\n\n## 📦 Getting Started\n\n### Prerequisites\n\n- Node.js (v18+)\n- [Freighter wallet](https:\u002F\u002Fwww.freighter.app\u002F) (for the Stellar payments\u002Fnotary features)\n- Foundry (for the smart contracts)\n- MongoDB (for the backend API)\n- Google Gemini API Key (for the WhatsApp bot)\n\n### Installation\n\n```bash\n# Live frontend (Stellar payments + notary)\ncd new-frontend\nnpm install\ncp .env.example .env.local  # set NEXT_PUBLIC_STELLAR_TREASURY_ADDRESS, etc.\n\n# Backend API\ncd ..\u002Fserver\nnpm install\ncp .env.example .env  # Configure MongoDB, JWT, BlockDAG\n\n# Smart contracts\ncd ..\u002Fcontracts\nforge install\n\n# WhatsApp bot (optional)\ncd ..\u002Fwhatsapp\nnpm install\ncp env.example .env   # Add GEMINI_API_KEY\n\n# BlockRoll Kit SDKs (optional)\ncd ..\u002Fblockroll-kit\nnpm install\n```\n\n### Development\n\n```bash\n# Run the live frontend\ncd new-frontend\nnpm run dev\n\n# Run backend (with WebSocket)\ncd server\nnpm run dev\n\n# Run smart contracts tests\ncd contracts\nforge test\n\n# Run WhatsApp bot\ncd whatsapp\nnpm run dev  # Scan QR code first time\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the full breakdown of what's active vs. legacy, and known rough edges.\n\n---\n\n## 📄 License\n\nMIT - see [LICENSE](LICENSE).\n\n---\n\n## 🔗 Links\n\n- [Live demo](https:\u002F\u002Fblockroll-gold.vercel.app)\n- [Issues & feature requests](https:\u002F\u002Fgithub.com\u002Fzeemscript\u002Fblock-roll\u002Fissues)\n- [Server API docs](server\u002FREADME.md)\n- [Smart contracts docs](contracts\u002FREADME.md)\n- [Contributing guide](CONTRIBUTING.md)\n\n---\n\n**Built with ❤️ for Web3, powered by Stellar**\n","BlockRoll 是一个非托管、端到端加密的去中心化文件存储与共享平台，依托 Stellar 区块链实现链上文件存证与原生支付功能。其核心能力包括：客户端本地加密（密钥不离设备）、基于 Freighter 钱包的纯前端 Stellar USDC 支付（测试网）、以及无需上传文件即可完成 SHA-256 哈希上链的轻量级文件存证服务。所有操作均通过浏览器 Web Crypto API 和 Stellar Horizon 接口完成，无后端文件处理。适用于需可验证时间戳、最小信任协作或合规性存证的场景，如法律证据固定、设计稿版权声明、敏感文档安全分发等。",2,"2026-11-24 04:35:01","CREATED_QUERY"]