{"id":30275884,"url":"https://github.com/codewithmirza/synappay","last_synced_at":"2025-08-16T10:10:20.935Z","repository":{"id":307312227,"uuid":"1027968355","full_name":"codewithmirza/synappay","owner":"codewithmirza","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-30T15:47:45.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-30T16:53:49.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/codewithmirza.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":"SECURITY_REMINDER.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-28T20:13:04.000Z","updated_at":"2025-07-30T15:47:49.000Z","dependencies_parsed_at":"2025-07-30T16:53:52.009Z","dependency_job_id":"c9f908fc-3d77-4e76-9621-78ab4999fe89","html_url":"https://github.com/codewithmirza/synappay","commit_stats":null,"previous_names":["codewithmirza/synappay"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/codewithmirza/synappay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmirza%2Fsynappay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmirza%2Fsynappay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmirza%2Fsynappay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmirza%2Fsynappay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmirza","download_url":"https://codeload.github.com/codewithmirza/synappay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmirza%2Fsynappay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270697041,"owners_count":24629976,"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-16T02:00:11.002Z","response_time":91,"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":[],"created_at":"2025-08-16T10:10:17.614Z","updated_at":"2025-08-16T10:10:20.927Z","avatar_url":"https://github.com/codewithmirza.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SynapPay\n\nCross-chain atomic swaps extending 1inch Fusion+ to Stellar using Hash Time Locked Contracts (HTLC).\n\n## 🚀 New Architecture\n\nThis project has been migrated to a modern pnpm workspace structure with Vite + React + TypeScript for improved performance and developer experience.\n\n### Workspace Structure\n\n```\nsynappay/\n├── contracts/     # Smart contracts (Hardhat)\n├── stellar/       # Stellar integration\n├── relayer/       # Backend relayer service\n└── web/          # Frontend (Vite + React + TypeScript)\n```\n\n### Technology Stack\n\n- **Frontend**: Vite + React + TypeScript\n- **Styling**: Tailwind CSS with custom dark theme\n- **Ethereum**: Ethers.js\n- **Stellar**: Stellar SDK + Freighter API\n- **Package Manager**: pnpm workspaces\n- **Build Tool**: Vite\n\n## 🛠️ Development\n\n### Prerequisites\n\n- Node.js \u003e= 18.0.0\n- pnpm \u003e= 8.0.0\n\n### Installation\n\n```bash\n# Install dependencies\npnpm install\n\n# Start development server\npnpm dev\n\n# Build all workspaces\npnpm build\n\n# Build for production\npnpm build:prod\n```\n\n### Workspace Commands\n\n```bash\n# Frontend (web)\npnpm web:dev          # Start development server\npnpm web:build        # Build frontend\npnpm web:preview      # Preview build\n\n# Smart Contracts\npnpm contracts:compile # Compile contracts\npnpm contracts:deploy  # Deploy to mainnet\npnpm contracts:deploy:sepolia # Deploy to testnet\n\n# Stellar\npnpm stellar:build    # Build stellar integration\n\n# Relayer\npnpm relayer:start    # Start relayer service\n```\n\n## 🌟 Features\n\n- **Cross-chain Swaps**: Ethereum ↔ Stellar\n- **1inch Fusion+ Integration**: Advanced swap routing\n- **HTLC Security**: Hash Time Locked Contracts\n- **Real-time Updates**: WebSocket connections\n- **Dark Theme**: Modern glass morphism UI\n- **Wallet Integration**: MetaMask + Freighter\n- **Transaction History**: Complete swap tracking\n\n## 🔧 Environment Variables\n\nCreate a `.env` file in the root directory:\n\n```env\n# Network Configuration\nVITE_NETWORK_MODE=testnet\n\n# Ethereum RPC URLs\nVITE_SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_KEY\nVITE_MAINNET_RPC_URL=https://mainnet.infura.io/v3/YOUR_KEY\n\n# 1inch API\nVITE_ONEINCH_API_KEY=your_1inch_api_key\n\n# Contract Addresses\nVITE_HTLC_CONTRACT_ADDRESS=0x...\nVITE_STELLAR_HTLC_ADDRESS=...\n```\n\n## 📦 Migration from Next.js\n\nThis project has been successfully migrated from Next.js to Vite for:\n\n- **Faster Development**: Hot module replacement\n- **Better Performance**: Optimized builds\n- **Modern Tooling**: Latest React features\n- **TypeScript Support**: Full type safety\n- **Monorepo Structure**: pnpm workspaces\n\n## 🎨 UI/UX Improvements\n\n- **Dark Theme**: Consistent dark mode\n- **Glass Morphism**: Modern glass effects\n- **Gradient Borders**: Animated flowing borders\n- **Toast Notifications**: User feedback system\n- **Responsive Design**: Mobile-first approach\n\n## 🔗 Links\n\n- [Live Demo](https://synappay.com)\n- [GitHub](https://github.com/synappay)\n\n## 📄 License\n\nMIT License - see LICENSE file for details. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmirza%2Fsynappay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmirza%2Fsynappay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmirza%2Fsynappay/lists"}