{"id":22416325,"url":"https://github.com/bunsdev/web3-react-template","last_synced_at":"2026-01-06T19:02:33.046Z","repository":{"id":107392343,"uuid":"389360001","full_name":"BunsDev/web3-react-template","owner":"BunsDev","description":"Template for creating a web3 react app frontend interface on the fly, primarily brought to you by create eth app.","archived":false,"fork":false,"pushed_at":"2021-07-25T14:11:41.000Z","size":446,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T09:29:28.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BunsDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-07-25T13:58:22.000Z","updated_at":"2021-07-25T14:11:44.000Z","dependencies_parsed_at":"2023-05-17T09:15:42.956Z","dependency_job_id":null,"html_url":"https://github.com/BunsDev/web3-react-template","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/BunsDev%2Fweb3-react-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunsDev%2Fweb3-react-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunsDev%2Fweb3-react-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunsDev%2Fweb3-react-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BunsDev","download_url":"https://codeload.github.com/BunsDev/web3-react-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245779485,"owners_count":20670688,"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-12-05T15:15:45.468Z","updated_at":"2026-01-06T19:02:32.928Z","avatar_url":"https://github.com/BunsDev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# web3-react-template\nTemplate for creating a web3 react app frontend interface on the fly, primarily brought to you by create eth app.\nThis project was bootstrapped with [Create Eth App](https://github.com/paulrberg/create-eth-app).\n\n## Project Structure\n\nThe default template is a monorepo created with [Yarn Workspaces](https://classic.yarnpkg.com/en/docs/workspaces/).\n\nWorkspaces makes it possible to setup multiple packages in such a way that we only need to run `yarn install` once to install all of them in\na single pass. Dependencies are hoisted at the root.\n\n```\nmy-eth-app\n├── README.md\n├── node_modules\n├── package.json\n├── .gitignore\n└── packages\n    ├── contracts\n    │   ├── README.json\n    │   ├── package.json\n    │   └── src\n    │       ├── abis\n    │       │   ├── erc20.json\n    │       │   └── ownable.json\n    │       ├── addresses.js\n    │       └── index.js\n    ├── react-app\n    │   ├── README.md\n    │   ├── node_modules\n    │   ├── package.json\n    │   ├── public\n    │   │   ├── favicon.ico\n    │   │   ├── index.html\n    │   │   ├── logo192.png\n    │   │   ├── logo512.png\n    │   │   ├── manifest.json\n    │   │   └── robots.txt\n    │   └── src\n    │       ├── App.css\n    │       ├── App.js\n    │       ├── App.test.js\n    │       ├── ethereumLogo.svg\n    │       ├── index.css\n    │       ├── index.js\n    │       ├── serviceWorker.js\n    │       └── setupTests.js\n    └── subgraph\n        ├── README.md\n        ├── abis\n        │   └── erc20.json\n        ├── package.json\n        ├── schema.graphql\n        ├── src\n        │   └── mappings\n        │       ├── tokens.ts\n        │       └── transfers.ts\n        └── subgraph.yaml\n```\n\nOwing to this dependency on Yarn Workspaces, Create Eth App can't be used with npm.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### React App\n\n#### `yarn react-app:start`\n\nRuns the React app in development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will automatically reload if you make changes to the code.\u003cbr\u003e\nYou will see the build errors and lint warnings in the console.\n\n#### `yarn react-app:test`\n\nRuns the React test watcher in an interactive mode.\u003cbr\u003e\nBy default, runs tests related to files changed since the last commit.\n\n[Read more about testing React.](https://facebook.github.io/create-react-app/docs/running-tests)\n\n#### `yarn react-app:build`\n\nBuilds the React app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the React documentation on [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n#### `yarn react-app:eject`\n\n**Note: this is a one-way operation. Once you `react-app:eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` the React app at any time. This command will\nremove the single build dependency from your React package.\n\nInstead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right\ninto the `react-app` package so you have full control over them. All of the commands except `react-app:eject` will still work,\nbut they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `react-app:eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n### Subgraph\n\nThe Graph is a tool for for indexing events emitted on the Ethereum blockchain. It provides you with an easy-to-use GraphQL API. \u003cbr/\u003e\n\nTo learn more, check out the [The Graph documentation](https://thegraph.com/docs).\n\n#### `yarn subgraph:codegen`\n\nGenerates AssemblyScript types for smart contract ABIs and the subgraph schema.\n\n#### `yarn subgraph:build`\n\nCompiles the subgraph to WebAssembly.\n\n#### `yarn subgraph:auth`\n\nBefore deploying your subgraph, you need to sign up on the\n[Graph Explorer](https://thegraph.com/explorer/). There, you will be given an access token. Drop it in the command\nbelow:\n\n```sh\nGRAPH_ACCESS_TOKEN=your-access-token-here yarn subgraph:auth\n```\n\n#### `yarn subgraph:deploy`\n\nDeploys the subgraph to the official Graph Node.\u003cbr/\u003e\n\nReplace `paulrberg/create-eth-app` in the package.json script with your subgraph's name.\n\nYou may also want to [read more about the hosted service](https://thegraph.com/docs/quick-start#hosted-service).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbunsdev%2Fweb3-react-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbunsdev%2Fweb3-react-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbunsdev%2Fweb3-react-template/lists"}