{"id":13433686,"url":"https://github.com/crapthings/hardhat-dapp-starter","last_synced_at":"2025-04-09T22:23:03.264Z","repository":{"id":153190771,"uuid":"430344671","full_name":"crapthings/hardhat-dapp-starter","owner":"crapthings","description":"a dapp starter kit with modern workflow.","archived":false,"fork":false,"pushed_at":"2022-04-12T15:01:12.000Z","size":651,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T00:16:15.363Z","etag":null,"topics":["blockchain","boilerplate-template","dapp","ethers","hardhat","react","smart-contracts","solidity","starter-kit","tailwindcss","zustand"],"latest_commit_sha":null,"homepage":"","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/crapthings.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}},"created_at":"2021-11-21T11:17:31.000Z","updated_at":"2023-03-04T05:56:42.000Z","dependencies_parsed_at":"2024-01-21T03:18:59.380Z","dependency_job_id":"587edc7f-926b-4dff-be67-210c05112799","html_url":"https://github.com/crapthings/hardhat-dapp-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crapthings%2Fhardhat-dapp-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crapthings%2Fhardhat-dapp-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crapthings%2Fhardhat-dapp-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crapthings%2Fhardhat-dapp-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crapthings","download_url":"https://codeload.github.com/crapthings/hardhat-dapp-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248120775,"owners_count":21051013,"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":["blockchain","boilerplate-template","dapp","ethers","hardhat","react","smart-contracts","solidity","starter-kit","tailwindcss","zustand"],"created_at":"2024-07-31T02:01:33.123Z","updated_at":"2025-04-09T22:23:03.241Z","avatar_url":"https://github.com/crapthings.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Hardhat Dapp Starter\n\n## Getting Started\n\n```bash\ngit clone https://github.com/crapthings/hardhat-dapp-starter\ncd hardhat-dapp-starter\nnpm i\nnpm run dev\n```\n\n## Requirements\n\n\u003e You should have MetaMask Installed [MetaMask](https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn)\n\n[MetaMask](https://metamask.io/) A crypto wallet \u0026 gateway to blockchain apps.\n\n## FAQ\n\n#### connect to your contract address\n\n\u003e command to run your dapp environment\n\n```bash\nnpm run dev\nnpm run contract:compile\nnpm run contract:deploy\n```\n\n\u003e find your contract addresses with dapp-ui/src/contracts.json after deploy\n\n#### generating localhost ssl certificate\n\n```bash\nnpx devcert-cli generate localhost\n```\n\n#### nonce too high\n\n\u003e if you see this, go to metamask \"settings \u003e advanced \u003e reset account\"\n\n```\nMetaMask - RPC Error: [ethjs-query] while formatting outputs from RPC '{\"value\":{\"code\":-32603,\"data\":{\"code\":-32000,\"message\":\"Nonce too high. Expected nonce to be 1 but got 3. Note that transactions can't be queued when automining.\"}}}' {code: -32603, message: `[ethjs-query] while formatting outputs from RPC '{…ransactions can't be queued when automining.\"}}}'`}\n```\n\n## CLI\n\n```json\n{\n  \"contract:dev\": \"npx hardhat node\",\n  \"contract:compile\": \"npx hardhat compile\",\n  \"contract:deploy\": \"npx hardhat run dapp-contract/scripts/deploy.js --network localhost\",\n  \"contract:test\": \"npx hardhat test\",\n  \"ui:dev\": \"snowpack dev\",\n  \"ui:build\": \"snowpack build\",\n  \"dev\": \"concurrently \\\"npm run contract:dev\\\" \\\"npm run ui:dev\\\"\"\n}\n```\n\n## Docs\n\n[Hardhat](https://hardhat.org/) Ethereum development environment for professionals.\n\n[Snowpack](https://www.snowpack.dev/) Snowpack is a lightning-fast frontend build tool, designed for the modern web.\n\n[Ethers](https://docs.ethers.io/) The ethers.js library aims to be a complete and compact library for interacting with the Ethereum Blockchain and its ecosystem.\n\n[React](https://reactjs.org/) A JavaScript library for building user interfaces.\n\n[Zustand](https://github.com/pmndrs/zustand/) A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy api based on hooks, isn't boilerplatey or opinionated.\n\n[React Router](https://reactrouter.com/) React client-side routing.\n\n[React Hook Form](https://www.react-hook-form.com/) Performant, flexible and extensible forms with easy-to-use validation.\n\n[React Icons](https://react-icons.github.io/react-icons/) Include popular icons in your React projects easily with react-icons.\n\n[Tailwind CSS](https://tailwindcss.com/) A utility-first CSS framework packed with classes like flex, pt-4, text-center and rotate-90 that can be composed to build any design, directly in your markup.\n\n[Daisy UI](https://daisyui.com/) Tailwind CSS Components.\n\n[Lodash](https://lodash.com/) A modern JavaScript utility library delivering modularity, performance \u0026 extras.\n\n[Day.js](https://day.js.org/) Fast 2kB alternative to Moment.js with the same modern API.\n\n## TODOS\n\n- [x] Load contract address automatically\n- [ ] Add IPFS support\n- [ ] Add backend for off-chain data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrapthings%2Fhardhat-dapp-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrapthings%2Fhardhat-dapp-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrapthings%2Fhardhat-dapp-starter/lists"}