{"id":29383521,"url":"https://github.com/sinhaparth5/rwa-insurance","last_synced_at":"2025-07-10T04:35:50.142Z","repository":{"id":303055032,"uuid":"1014267548","full_name":"sinhaparth5/rwa-insurance","owner":"sinhaparth5","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-05T12:15:59.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-05T12:26:25.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/sinhaparth5.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-07-05T11:28:16.000Z","updated_at":"2025-07-05T11:31:44.000Z","dependencies_parsed_at":"2025-07-05T12:38:04.035Z","dependency_job_id":null,"html_url":"https://github.com/sinhaparth5/rwa-insurance","commit_stats":null,"previous_names":["sinhaparth5/rwa-insurance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sinhaparth5/rwa-insurance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhaparth5%2Frwa-insurance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhaparth5%2Frwa-insurance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhaparth5%2Frwa-insurance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhaparth5%2Frwa-insurance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinhaparth5","download_url":"https://codeload.github.com/sinhaparth5/rwa-insurance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhaparth5%2Frwa-insurance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264528815,"owners_count":23623228,"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":[],"created_at":"2025-07-10T04:35:47.220Z","updated_at":"2025-07-10T04:35:50.133Z","avatar_url":"https://github.com/sinhaparth5.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\t\n    \u003cp\u003e\t\n\t    \u003ca href=\"(https://www.morphl2.io/)\"\u003e\t\n            \u003cdiv\u003e\t\n\t           \u003cimg width=\"400px\" src=\"https://blockdag.network/images/presskit/Logo.svg\" align=\"center\" alt=\"BlockDAG\" /\u003e\t\n\t\t    \u003c/div\u003e\n\t    \u003c/a\u003e\n            \u003cbr\u003e\n    \u003c/p\u003e\n      \n\u003c/div\u003e\n\n\n# Create BlockDAG App\nA lightweight CLI tool to quickly scaffold BlockDAG blockchain applications with a clean, production-ready structure.\n\n\n## Quick Start\n\n```bash\nnpx create-blockdag-dapp@latest\n```\n\n\nThis will guide you through creating a new BlockDAG application with a simple interactive prompt.\n\n\n## Features\n\n\n- **Streamlined Setup**: Create a complete BlockDAG application with a single command\n- **Modern Stack**: Next.js frontend with Web3 integration\n- **Dual Smart Contract Development**: Includes both Hardhat and Foundry environments\n- **Production Ready**: Follows best practices for BlockDAG development\n- **Lightweight**: Fast project creation with minimal dependencies\n\n\n## Project Structure\n\n```\nyour-app/\n├── contracts/\n│   ├── hardhat/\n│   │   ├── contracts/     # Solidity smart contracts\n│   │   ├── scripts/       # Deployment scripts\n│   │   └── test/          # Contract tests\n│   └── foundry/\n│       ├── src/           # Solidity smart contracts\n│       ├── test/          # Contract tests\n│       └── script/        # Deployment scripts\n└── frontend/\n    ├── app/               # Next.js application\n    ├── components/        # React components\n    └── public/            # Static assets\n```\n\n\n## Environment Setup\n\n\nAfter creating your project, you'll need to set up your environment:\n\n### Frontend (.env.local)\n\n```\nNEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=your_wallet_connect_project_id\n```\n\nGet your WalletConnect Project ID at https://cloud.walletconnect.com/\n\n### Smart Contracts (.env)\n\n```\nPRIVATE_KEY=your_private_key_here\nRPC_URL=your_rpc_url_here\n```\n\n\n## Development Workflow\n\n1. **Create your project**:\n   ```bash\n   npx @blockdag/create-blockdag-app@latest\n   cd my-blockdag-app\n   ```\n   \n2. **Set up the frontend**:\n   ```bash\n   cd frontend\n   cp .env.example .env.local\n   # Edit .env.local with your WalletConnect Project ID\n   yarn install\n   yarn dev\n   ```\n   \n3. **Set up Foundry**:\n   ```bash\n   cd ../contracts/foundry\n   cp .env.example .env\n   # Edit .env with your private key and RPC URL\n   forge build\n   ```\n   \n4. **Set up Hardhat**:\n   ```bash\n   cd ../hardhat\n   yarn install\n   npx hardhat compile\n   ```\n\n5. **Add Foundry submodules** (optional but recommended):\n   ```bash\n   # From project root\n   git submodule add https://github.com/OpenZeppelin/openzeppelin-contracts.git contracts/foundry/lib/openzeppelin-contracts\n   git submodule add https://github.com/foundry-rs/forge-std contracts/foundry/lib/forge-std\n   ```\n\n## Smart Contract Development\n\n### Using Hardhat\n\n```bash\ncd contracts/hardhat\nnpx hardhat compile\nnpx hardhat test\nnpx hardhat run scripts/deploy.ts --network primordial\n```\n\n### Using Foundry\n\n```bash\ncd contracts/foundry\nforge build\nforge test\nforge script script/Deployer.s.sol --rpc-url $RPC_URL --broadcast --legacy --private-key $PRIVATE_KEY\n```\n\n## Frontend Development\n\n```bash\ncd frontend\nyarn dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinhaparth5%2Frwa-insurance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinhaparth5%2Frwa-insurance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinhaparth5%2Frwa-insurance/lists"}