{"id":24836820,"url":"https://github.com/itshivams/Gasless-Forwarder","last_synced_at":"2025-10-14T11:31:41.095Z","repository":{"id":274309775,"uuid":"922042392","full_name":"itshivams/Gasless-Forwarder","owner":"itshivams","description":"This project implements a Gasless Transaction Forwarder, allowing users to send ERC-20 and ERC-721 transactions without holding ETH. The system consists of a forwarder smart contract, a backend relay service, and a frontend interface for users to interact with the system.","archived":false,"fork":false,"pushed_at":"2025-08-25T05:35:13.000Z","size":2255,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T20:45:34.157Z","etag":null,"topics":["expo","gin-framework","golang","hardhat","nodejs","react-native","reactjs","solidity","vite-react"],"latest_commit_sha":null,"homepage":"https://hackiitk.itshivam.me/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itshivams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2025-01-25T06:46:12.000Z","updated_at":"2025-09-23T04:05:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"27a6debb-71f5-479d-807f-78d7c67d74e0","html_url":"https://github.com/itshivams/Gasless-Forwarder","commit_stats":null,"previous_names":["myselfshivams/gasless-forwarder","itshivams/gasless-forwarder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itshivams/Gasless-Forwarder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itshivams%2FGasless-Forwarder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itshivams%2FGasless-Forwarder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itshivams%2FGasless-Forwarder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itshivams%2FGasless-Forwarder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itshivams","download_url":"https://codeload.github.com/itshivams/Gasless-Forwarder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itshivams%2FGasless-Forwarder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019089,"owners_count":26086516,"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-10-14T02:00:06.444Z","response_time":60,"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":["expo","gin-framework","golang","hardhat","nodejs","react-native","reactjs","solidity","vite-react"],"created_at":"2025-01-31T05:43:53.431Z","updated_at":"2025-10-14T11:31:41.089Z","avatar_url":"https://github.com/itshivams.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"  \u003cdiv align=\"center\"\u003e\n        \u003ca href=\"https://github.com/itshivams\"\u003e\u003cimg src=\"https://itshivam.in/api/github-repo?repo=itshivams/Gasless-Forwarder\u0026theme=hacker\" height=\"500\" /\u003e\u003c/a\u003e\n    \u003c/div\u003e\n\n# Gasless Transaction Forwarder\n\n## Project Overview\nThis project implements a **Gasless Transaction Forwarder**, allowing users to send ERC-20 and ERC-721 transactions without holding ETH. The system consists of a forwarder smart contract, a backend relay service, and a frontend interface for users to interact with the system.\n\n---\n\n## Table of Contents\n- [Architecture](#architecture)\n- [Features](#features)\n- [Setup Guide](#setup-guide)\n- [Project Structure](#project-structure)\n- [Privacy Measures](#privacy-measures)\n- [Technologies Used](#technologies-used)\n- [Security Considerations](#security-considerations)\n- [Our Team](#our-team)\n- [Deployment](#deployment)\n\n---\n\n## Architecture\nThe solution consists of three main components:\n\n1. **Smart Contracts** (Solidity):\n   - `GaslessForwarder.sol`: The core contract that relays transactions on behalf of users.\n   - `MockRecipient.sol`: A sample contract for testing the forwarder's functionality.\n\n2. **Backend** (Go):\n   - Responsible for relaying signed transactions to the blockchain.\n   - Handles user requests for balance and transaction history.\n\n3. **Frontend** (React/React Native):\n   - Provides a simple UI for users to input transaction details and submit them for forwarding.\n\n---\n\n## Features\n- **Gasless Transactions:** Users can send transactions without needing ETH.\n- **Multi-token Support:** Supports both ERC-20 and ERC-721 tokens.\n- **User-friendly UI:** Simple interface to input and track transactions.\n- **Security:** Implements signature verification to ensure transaction authenticity.\n- **Auditable:** Designed to achieve a high Solidity Shield audit score.\n\n---\n\n## Setup Guide\n\n### Environment Variables\n\n#### Contracts\nCreate a `.env` file in the `contracts` directory with the following content:\n```\nSEPOLIA_URL=https://sepolia.infura.io/v3/02084dda02bc47f78913a11ea476be56\nDEPLOYER_PRIVATE_KEY=your_secret_deployer_private_key\nETHERSCAN_API_KEY=K1PCV6JTTPBVJBGNBPRNWED435CVBH5AJD\n```\n\n#### Backend\nCreate a `.env` file in the `backend` directory with the following content:\n```\nINFURA_RPC_URL=https://sepolia.infura.io/v3/02084dda02bc47f78913a11ea476be56\nFORWARDER_CONTRACT_ADDRESS=0x8336Fe9c782C385D888DA4C3549Aa3AADb801FAC\nRELAYER_PRIVATE_KEY=you_relayer_private_secret_key\nPORT=4000\nPRIVATE_KEY=you_relayer_private_secret_key\nCHAIN_ID=11155111\nERC721_CONTRACT_ADDRESS=0x8336Fe9c782C385D888DA4C3549Aa3AADb801FAC\nETHERSCAN_API_KEY=K1PCV6JTTPBVJBGNBPRNWED435CVBH5AJD\n```\n\n\n### Prerequisites\nEnsure you have the following installed:\n- Node.js (v18+)\n- Go (v1.19+)\n- Hardhat (for smart contract deployment)\n- MetaMask (for frontend testing)\n\n### 1. Clone the repository\n```bash\ngit clone \u003crepo_url\u003e\ncd Gasless-Forwarder-main\n```\n\n### 2. Smart Contracts\n```bash\ncd contracts\nnpm install\nnpx hardhat compile\nnpx hardhat test\nnpx hardhat run scripts/deploy.js --network \u003cnetwork\u003e\n```\n\n### 3. Backend\n```bash\ncd backend\ngo mod tidy\ngo run main.go\n```\n\n### 4. Frontend\n```bash\ncd frontend\nnpm install\nnpm run dev\n```\n\n### 5. React Native App\n```bash\ncd \"React Native App\"\nnpm install\nnpx expo start\n```\n\n---\n\n## Project Structure\n```\nGasless-Forwarder-main/\n│-- contracts/              # Solidity smart contracts\n│-- backend/                # Go backend service\n│-- frontend/               # React frontend\n│-- React Native App/       # Mobile frontend (React Native)\n│-- README.md               # Project documentation\n│-- LICENSE                 # License file\n```\n\n---\n\n## Privacy Measures\n- **Off-chain Signing:** Users sign transactions off-chain to avoid exposing private keys.\n- **Data Minimization:** Only necessary transaction data is stored.\n- **Secure Relayer:** Ensures transactions are relayed securely without tampering.\n\n---\n\n## Technologies Used\n- **Frontend:** React, React Native, TailwindCSS\n- **Backend:** Go, Gin framework\n- **Smart Contracts:** Solidity, Hardhat\n- **Blockchain:** Ethereum, MetaMask integration\n- **Security:** ECDSA signature verification\n\n---\n\n## Security Considerations\n- **Signature Verification:** Ensures transactions are authorized by the sender.\n- **Reentrancy Protection:** Smart contracts are safeguarded against reentrancy attacks.\n- **Gas Optimization:** Efficient contract design to minimize gas costs.\n\n---\n\n\n## Project Demonstration\nWatch our project demonstration video here: [YouTube](https://youtu.be/pHNOJeRUE5U?si=BOO7bKruFSp5W5Tv)\n\n---\n\n## Deployment\nWatch our project demonstration video here: [YouTube](https://youtu.be/pHNOJeRUE5U?si=BOO7bKruFSp5W5Tv)\n- **Backend:** Deployed on [Railway.app](https://backend-hackiitk.itshivam.me/)\n- **Frontend:** Deployed on [Vercel](https://hackiitk.itshivam.me)\n\n---\n\n## Acknowledgment\nSpecial thanks to HACKIITK for organizing this hackathon.\n## Our Team\nWe are a dedicated team of blockchain developers, cloud/backend developers, full stack developers, software engineers, and security experts passionate about decentralized finance and improving blockchain accessibility. Our goal is to create seamless, secure, and efficient blockchain solutions.\n\n- [Shivam](https://github.com/myselfshivams)\n- [Ritik Gupta](https://github.com/ritikgupta06)\n- [Sanskar Soni](https://github.com/sunscar-sony)\n- [Parth Agarwal](https://github.com/TheInfernitex)\n- [Ashish Verma](https://github.com/AshishJii)\n\n\n  \u003cdiv align=\"center\"\u003e\n        \u003ca href=\"https://github.com/itshivams\"\u003e\u003cimg src=\"https://itshivam.in/api/github-contributors?repo=itshivams/Gasless-Forwarder\u0026theme=neon\u0026layout=carousel\" height=\"240\" /\u003e\u003c/a\u003e\n    \u003c/div\u003e\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitshivams%2FGasless-Forwarder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitshivams%2FGasless-Forwarder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitshivams%2FGasless-Forwarder/lists"}