{"id":18263769,"url":"https://github.com/yearn/ygift-ui","last_synced_at":"2025-04-04T20:31:18.603Z","repository":{"id":47309618,"uuid":"317629296","full_name":"yearn/ygift-ui","owner":"yearn","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-29T21:09:33.000Z","size":2118,"stargazers_count":8,"open_issues_count":10,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-20T19:07:28.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/yearn.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}},"created_at":"2020-12-01T18:17:12.000Z","updated_at":"2022-03-08T16:32:05.000Z","dependencies_parsed_at":"2022-09-12T15:41:21.376Z","dependency_job_id":null,"html_url":"https://github.com/yearn/ygift-ui","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygift-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygift-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygift-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygift-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yearn","download_url":"https://codeload.github.com/yearn/ygift-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247246366,"owners_count":20907782,"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":"2024-11-05T11:12:34.133Z","updated_at":"2025-04-04T20:31:17.151Z","avatar_url":"https://github.com/yearn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get started\n\n1. Install deps with yarn `yarn` or npm `npm install`\n2. Start hardhat `npx hardhat node --watch`\n\n![](https://media.giphy.com/media/9l6z9MzXfHX9gKzbvU/giphy.gif)\n\n```text\nIt runs up a Hardhat node, compile contracts, generates typescript interfaces, creates React context and instantiates your contract instances and factories with frontend provider.\n```\n\n4. Open up a new terminal\n5. `cd frontend`\n6. Install deps with yarn `yarn` or npm `npm install`\n7. Start React app with yarn `yarn start` or npm `npm start`\n\nThe frontend should start up at http://localhost:3000/.\n\nBecause of this default hardhat.config.ts it will first try to connect with an injected provider like Metamask (web3modal package does this).\n\nIf nothing found it will try to connect with your hardhat node. On localhost and hardhat nodes it will inject your mnemonic into the frontend so you have a \"browser wallet\" that can both call and send transactions. NB! Dont ever put a mnemonic with actual value here. We will limit this feature going forward so its more explicit.\n\n```ts\nconst config: HardhatUserConfig = {\n  react: {\n    providerPriority: [\"web3modal\", \"hardhat\"],\n  },\n};\n```\n\nThe default mnemonic currently used by hardhat is `test test test test test test test test test test test junk`\n\n# FAQ\n\n## Invalid nonce.\n\n```bash\neth_sendRawTransaction\n  Invalid nonce. Expected X but got X.\n```\n\nReset your account in Metamask.\n\n# We ❤️ these **Ethereum** projects:\n\n- [Hardhat 👷](https://hardhat.org/)\n- [Hardhat-deploy 🤘](https://hardhat.org/plugins/hardhat-deploy.html)\n- [Typechain 🔌](https://github.com/ethereum-ts/Typechain#readme)\n- [hardhat-typechain 🧙‍♀️](https://hardhat.org/plugins/hardhat-typechain.html)\n- [ethers.js v5 ⺦](https://github.com/ethers-io/ethers.js#readme)\n- [web3modal 💸](https://github.com/Web3Modal/web3modal#web3modal)\n- [ts-morph 🏊‍♂️](https://github.com/dsherret/ts-morph)\n- [@symfoni/hardhat-react 🎻(our own)](https://github.com/symfoni/buidler-plugins)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fygift-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyearn%2Fygift-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fygift-ui/lists"}