{"id":27890103,"url":"https://github.com/sagarregmi2056/legacyledger","last_synced_at":"2025-05-05T10:43:59.879Z","repository":{"id":282692448,"uuid":"949279942","full_name":"sagarregmi2056/LegacyLedger","owner":"sagarregmi2056","description":"Deployed test url","archived":false,"fork":false,"pushed_at":"2025-03-16T11:17:55.000Z","size":362,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T11:22:20.761Z","etag":null,"topics":["testing"],"latest_commit_sha":null,"homepage":"https://legacy-ledger-we8p-git-main-sagarregmi2056s-projects.vercel.app/","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/sagarregmi2056.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}},"created_at":"2025-03-16T04:41:22.000Z","updated_at":"2025-03-16T11:17:59.000Z","dependencies_parsed_at":"2025-03-16T11:22:24.857Z","dependency_job_id":"eff1ed84-6ba7-4f0d-80d8-5fdb4c9ee486","html_url":"https://github.com/sagarregmi2056/LegacyLedger","commit_stats":null,"previous_names":["sagarregmi2056/legacyledger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarregmi2056%2FLegacyLedger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarregmi2056%2FLegacyLedger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarregmi2056%2FLegacyLedger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarregmi2056%2FLegacyLedger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagarregmi2056","download_url":"https://codeload.github.com/sagarregmi2056/LegacyLedger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252485173,"owners_count":21755738,"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","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":["testing"],"created_at":"2025-05-05T10:43:59.220Z","updated_at":"2025-05-05T10:43:59.873Z","avatar_url":"https://github.com/sagarregmi2056.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Legacy Ledger\n\nLegacy Ledger is a decentralized application (dApp) that allows users to securely store and manage digital assets with inheritance capabilities. Built with Next.js, TypeScript, and Ethereum smart contracts.\n\nDEPLOYED URL :https://legacy-ledger-we8p-git-main-sagarregmi2056s-projects.vercel.app/\n\n## Real-World Problem Solving\n\nLegacy Ledger addresses several critical challenges in digital asset inheritance and management:\n\n### 1. Digital Asset Inheritance\n- **Problem**: Traditional inheritance systems aren't designed for digital assets, leading to lost or inaccessible crypto assets after the owner's death.\n- **Solution**: Smart contract-based inheritance system that automatically transfers assets to designated beneficiaries under specific conditions.\n\n### 2. Asset Security\n- **Problem**: Centralized storage solutions are vulnerable to hacks and single points of failure.\n- **Solution**: Decentralized storage on Ethereum blockchain with multi-signature security and time-locked transactions.\n\n### 3. Privacy and Control\n- **Problem**: Users want privacy in asset management while ensuring their beneficiaries can access assets when needed.\n- **Solution**: \n  - Private asset management during the owner's lifetime\n  - Transparent inheritance process\n  - Customizable conditions for asset transfer\n\n### 4. Legal Compliance\n- **Problem**: Digital assets often exist in a legal grey area regarding inheritance.\n- **Solution**: Smart contracts that align with legal requirements and provide verifiable proof of ownership and transfer intentions.\n\n### 5. User Experience\n- **Problem**: Blockchain applications are often too complex for non-technical users.\n- **Solution**: \n  - Intuitive user interface\n  - Simplified wallet connection\n  - Clear asset management dashboard\n  - Step-by-step inheritance setup\n\n### 6. Cross-Platform Accessibility\n- **Problem**: Limited access to digital asset management tools across devices.\n- **Solution**: Responsive web application accessible from any device with wallet support.\n\n## Developer Information\n\n### Developer\n- **Name**: Sagar Regmi\n- **GitHub**: [github.com/sagarregmi](https://github.com/sagarregmi2056)\n- **LinkedIn**: [linkedin.com/in/sagarregmi](https://www.linkedin.com/in/sagar-regmi-60b377216/)\n\n### Tech Stack\n- **Frontend**: Next.js 14, TypeScript, TailwindCSS\n- **Smart Contracts**: Solidity, Hardhat\n- **Authentication**: NextAuth.js\n- **Web3**: WalletConnect, wagmi, viem\n- **Database**: MongoDB\n- **Deployment**: Vercel (Frontend), Sepolia Testnet (Smart Contracts)\n\n### Development Timeline\n- **Started**: March 2024\n- **Status**: Active Development\n- **Version**: 1.0.0\n\n## Features\n\n- 🔐 Secure asset storage and management\n- 👥 User authentication with NextAuth.js\n- 💼 Web3 integration with WalletConnect\n- 🔗 Ethereum Sepolia testnet support\n- 📱 Responsive and modern UI\n- 🌐 MongoDB database integration\n\n## Prerequisites\n\nBefore you begin, ensure you have installed:\n\n- Node.js (v18 or later)\n- npm or yarn\n- Git\n- MongoDB instance\n- MetaMask or any Web3 wallet\n\n## Environment Variables\n\nCreate a `.env` file in the root directory with the following variables:\n\n```env\n# Authentication\nNEXTAUTH_SECRET=your_secret_here\nNEXTAUTH_URL=http://localhost:3000\n\n# Database\nDATABASE_URL=your_mongodb_url\n\n# Blockchain\nNEXT_PUBLIC_INFURA_PROJECT_ID=your_infura_project_id\nPRIVATE_KEY=your_wallet_private_key\nETHERSCAN_API_KEY=your_etherscan_api_key\nNEXT_PUBLIC_CONTRACT_ADDRESS=your_deployed_contract_address\n\n# WalletConnect\nNEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id\n```\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/sagarregmi/legacy-ledger.git\ncd legacy-ledger\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Run the development server:\n```bash\nnpm run dev\n```\n\n4. Deploy the smart contract:\n```bash\nnpx hardhat run scripts/deploy.ts --network sepolia\n```\n\n## Smart Contract Deployment\n\nThe project includes a LegacyLedger smart contract that needs to be deployed to the Sepolia testnet:\n\n1. Ensure your `.env` file contains the required blockchain variables\n2. Compile the contract:\n```bash\nnpx hardhat compile\n```\n3. Deploy to Sepolia:\n```bash\nnpx hardhat run scripts/deploy.ts --network sepolia\n```\n4. Verify on Etherscan:\n```bash\nnpx hardhat verify --network sepolia YOUR_DEPLOYED_CONTRACT_ADDRESS\n```\n\n## Project Structure\n\n```\nlegacy-ledger/\n├── contracts/           # Smart contracts\n├── scripts/            # Deployment scripts\n├── src/\n│   ├── app/           # Next.js pages and API routes\n│   ├── components/    # React components\n│   ├── lib/          # Utility functions and configurations\n│   ├── models/       # Database models\n│   └── providers/    # Context providers\n├── public/           # Static files\n└── test/            # Contract tests\n```\n\n## Testing\n\nRun the test suite:\n\n```bash\n# Run contract tests\nnpx hardhat test\n\n# Run frontend tests\nnpm run test\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- OpenZeppelin for smart contract libraries\n- Next.js team for the amazing framework\n- WalletConnect for Web3 integration\n- Hardhat for Ethereum development environment\n\n## Getting Started\n\n1. Clone and install dependencies:\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarregmi2056%2Flegacyledger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagarregmi2056%2Flegacyledger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarregmi2056%2Flegacyledger/lists"}