{"id":28344267,"url":"https://github.com/d4mr/zkrail","last_synced_at":"2025-08-11T05:13:14.841Z","repository":{"id":266874442,"uuid":"899592949","full_name":"d4mr/zkrail","owner":"d4mr","description":"Universal Settlement Infrastructure for Programmatic Fiat Payments. EthIndia 2024 Winner, track winner coinbase, cdp and polygon.","archived":false,"fork":false,"pushed_at":"2024-12-07T21:55:19.000Z","size":1678,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T13:44:50.371Z","etag":null,"topics":["decentralized-protocols","protocol","web3","zero-knowledge"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d4mr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-06T15:33:09.000Z","updated_at":"2025-04-21T07:41:16.000Z","dependencies_parsed_at":"2025-06-20T13:52:31.370Z","dependency_job_id":null,"html_url":"https://github.com/d4mr/zkrail","commit_stats":null,"previous_names":["d4mr/zkrail"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d4mr/zkrail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4mr%2Fzkrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4mr%2Fzkrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4mr%2Fzkrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4mr%2Fzkrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d4mr","download_url":"https://codeload.github.com/d4mr/zkrail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4mr%2Fzkrail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269832976,"owners_count":24482347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decentralized-protocols","protocol","web3","zero-knowledge"],"created_at":"2025-05-27T09:56:05.075Z","updated_at":"2025-08-11T05:13:14.823Z","avatar_url":"https://github.com/d4mr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eZKRails\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003eDecentralized UPI Payments powered by Zero Knowledge Proofs\u003c/strong\u003e\u003c/p\u003e\n\n![image](https://github.com/user-attachments/assets/c90534d8-7b51-42bb-bd2f-6aed89da92ec)\n\n  \n  \u003cp\u003e\n    \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n    \u003ca href=\"#architecture\"\u003eArchitecture\u003c/a\u003e •\n    \u003ca href=\"#quick-start\"\u003eQuick Start\u003c/a\u003e •\n    \u003ca href=\"#development\"\u003eDevelopment\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Base-Sepolia-blue\" alt=\"Base Sepolia\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/USDC-Payments-green\" alt=\"USDC Payments\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/AI-Powered-purple\" alt=\"AI Powered\" /\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## 🌟 Overview\n\nZKRail is a revolutionary payment infrastructure that bridges traditional UPI payments with blockchain technology using zero-knowledge proofs. It enables secure, private, and efficient cross-border payments while maintaining the simplicity of UPI transactions.\n\n## 🎯 Use Cases\n\n- **Cross-Border Remittances**: Send money internationally using UPI\n- **Private Business Payments**: Keep transaction details confidential\n- **Decentralized Payment Networks**: Build on top of our intent-based architecture\n- **AI-Enhanced Payments**: Natural language payment processing\n\n## ✨ Features\n\n- **UPI Integration**: Send payments to any UPI ID directly from your crypto wallet\n- **Zero-Knowledge Privacy**: Transaction details are kept private using ZK proofs\n- **AI-Powered CLI**: Natural language interface for initiating payments\n- **Cross-Border Support**: Seamless international payments using USDC\n- **Intent-Based Architecture**: Decentralized intent matching for optimal payment routing\n- **Bond-Based Security**: Solver bonding mechanism ensures payment reliability\n\n## 🏗 Architecture\n\n![image](https://github.com/user-attachments/assets/3fbc49a3-ee37-42b9-a0f1-2d8fd9594b78)\n\n\n## 🚀 Technical Stack\n\n- **Smart Contracts**: Solidity, Foundry\n- **Backend**: TypeScript, Node.js\n- **AI Integration**: GPT-4, LangChain\n- **Blockchain**: Base Sepolia Network\n- **Payment**: USDC, UPI\n- **Privacy**: Zero Knowledge Proofs\n- **SDK**: Coinbase Cloud CDP\n\n## 🚀 Quick Start\n\n1. Install dependencies:\n\n```bash\nyarn install\n```\n\n2. Set up your environment variables:\n\n```bash\ncp .env.example .env\n# Add your API keys and configuration\n```\n\n3. Start the payment CLI:\n\n```bash\nyarn cli\n```\n\n4. Make your first payment:\n\n```bash\ntransfer 100 rs to user@upi\n```\n\n## 🛠 Development\n\n### Prerequisites\n\n- Node.js \u003e= v18.18\n- Yarn\n- Foundry\n- Coinbase Cloud API Keys\n\n### Environment Variables\n\n```bash\nCDP_API_KEY_NAME=your_api_key_name\nCDP_API_KEY_PRIVATE_KEY=your_private_key\nOPENAI_API_KEY=your_openai_key\n```\n\n### Local Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/zkrail.git\ncd zkrail\n```\n\n2. Install dependencies:\n\n```bash\nyarn install\n```\n\n3. Start local blockchain:\n\n```bash\nyarn chain\n```\n\n4. Deploy contracts:\n\n```bash\nyarn deploy\n```\n\n5. Run the development server:\n\n```bash\nyarn dev\n```\n\n## 📜 License\n\nMIT License - see [LICENSE](LICENSE) for details\n\n---\n\n# 🏗 Scaffold-ETH 2\n\n\u003ch4 align=\"center\"\u003e\n  \u003ca href=\"https://docs.scaffoldeth.io\"\u003eDocumentation\u003c/a\u003e |\n  \u003ca href=\"https://scaffoldeth.io\"\u003eWebsite\u003c/a\u003e\n\u003c/h4\u003e\n\n🧪 An open-source, up-to-date toolkit for building decentralized applications (dapps) on the Ethereum blockchain. It's designed to make it easier for developers to create and deploy smart contracts and build user interfaces that interact with those contracts.\n\n⚙️ Built using NextJS, RainbowKit, Foundry, Wagmi, Viem, and Typescript.\n\n- ✅ **Contract Hot Reload**: Your frontend auto-adapts to your smart contract as you edit it.\n- 🪝 **[Custom hooks](https://docs.scaffoldeth.io/hooks/)**: Collection of React hooks wrapper around [wagmi](https://wagmi.sh/) to simplify interactions with smart contracts with typescript autocompletion.\n- 🧱 [**Components**](https://docs.scaffoldeth.io/components/): Collection of common web3 components to quickly build your frontend.\n- 🔥 **Burner Wallet \u0026 Local Faucet**: Quickly test your application with a burner wallet and local faucet.\n- 🔐 **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Ethereum network.\n\n![Debug Contracts tab](https://github.com/scaffold-eth/scaffold-eth-2/assets/55535804/b237af0c-5027-4849-a5c1-2e31495cccb1)\n\n## Requirements\n\nBefore you begin, you need to install the following tools:\n\n- [Node (\u003e= v18.18)](https://nodejs.org/en/download/)\n- Yarn ([v1](https://classic.yarnpkg.com/en/docs/install/) or [v2+](https://yarnpkg.com/getting-started/install))\n- [Git](https://git-scm.com/downloads)\n\n## Quickstart\n\nTo get started with Scaffold-ETH 2, follow the steps below:\n\n1. Install dependencies if it was skipped in CLI:\n\n```\ncd my-dapp-example\nyarn install\n```\n\n2. Run a local network in the first terminal:\n\n```\nyarn chain\n```\n\nThis command starts a local Ethereum network using Foundry. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in `packages/foundry/foundry.toml`.\n\n3. On a second terminal, deploy the test contract:\n\n```\nyarn deploy\n```\n\nThis command deploys a test smart contract to the local network. The contract is located in `packages/foundry/contracts` and can be modified to suit your needs. The `yarn deploy` command uses the deploy script located in `packages/foundry/script` to deploy the contract to the network. You can also customize the deploy script.\n\n4. On a third terminal, start your NextJS app:\n\n```\nyarn start\n```\n\nVisit your app on: `http://localhost:3000`. You can interact with your smart contract using the `Debug Contracts` page. You can tweak the app config in `packages/nextjs/scaffold.config.ts`.\n\nRun smart contract test with `yarn foundry:test`\n\n- Edit your smart contracts in `packages/foundry/contracts`\n- Edit your frontend homepage at `packages/nextjs/app/page.tsx`. For guidance on [routing](https://nextjs.org/docs/app/building-your-application/routing/defining-routes) and configuring [pages/layouts](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts) checkout the Next.js documentation.\n- Edit your deployment scripts in `packages/foundry/script`\n\n\n## Documentation\n\nVisit our [docs](https://docs.scaffoldeth.io) to learn how to start building with Scaffold-ETH 2.\n\nTo know more about its features, check out our [website](https://scaffoldeth.io).\n\n## Contributing to Scaffold-ETH 2\n\nWe welcome contributions to Scaffold-ETH 2!\n\nPlease see [CONTRIBUTING.MD](https://github.com/scaffold-eth/scaffold-eth-2/blob/main/CONTRIBUTING.md) for more information and guidelines for contributing to Scaffold-ETH 2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4mr%2Fzkrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd4mr%2Fzkrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4mr%2Fzkrail/lists"}