{"id":21471477,"url":"https://github.com/max-tonny8/next-web3","last_synced_at":"2025-03-17T06:47:20.989Z","repository":{"id":251135177,"uuid":"802965161","full_name":"max-tonny8/next-web3","owner":"max-tonny8","description":"this is templete using nextjs+typescript+ConnectKit","archived":false,"fork":false,"pushed_at":"2024-05-19T18:24:54.000Z","size":293,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T16:16:34.682Z","etag":null,"topics":["connectkit","nextjs","typescript"],"latest_commit_sha":null,"homepage":"","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/max-tonny8.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":"2024-05-19T18:23:48.000Z","updated_at":"2024-08-09T15:09:49.000Z","dependencies_parsed_at":"2024-08-01T04:47:06.643Z","dependency_job_id":null,"html_url":"https://github.com/max-tonny8/next-web3","commit_stats":null,"previous_names":["tonny0831/next-web3","max-tonny8/next-web3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-tonny8%2Fnext-web3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-tonny8%2Fnext-web3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-tonny8%2Fnext-web3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-tonny8%2Fnext-web3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-tonny8","download_url":"https://codeload.github.com/max-tonny8/next-web3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243988961,"owners_count":20379649,"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":["connectkit","nextjs","typescript"],"created_at":"2024-11-23T09:35:07.241Z","updated_at":"2025-03-17T06:47:20.969Z","avatar_url":"https://github.com/max-tonny8.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ⚠️ Notice\nThis template is no longer under active maintenance, it's out-of-date with the state of the ethereum ecosystem. Some reccomendations for replacing this would be to use the [Next.js + TypeScript + ConnectKit](https://github.com/family/connectkit/tree/main/examples/nextjs) example from Family, using [wagmi](https://wagmi.sh) directly or [web3modal](https://github.com/WalletConnect/web3modal).\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmirshko%2Fnext-web3-boilerplate)\n\nThis is a default [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app), customized as the default boilerplate for new Web3 projects.\n\n## Features\n\n- Separate packages from [ethers.js](https://docs.ethers.io/v5/) for improved tree-shaking, often only ethers Contracts\n- Hooks-first approach to fetching and caching data from Contracts and memoization for performance with [SWR](https://swr.vercel.app)\n- [web3-react](https://github.com/NoahZinsmeister/web3-react) for ease of connecting to Web3 providers with a solid API\n- Auto-generates types for the contract ABIs in the `/contracts` folder via [TypeChain](https://github.com/ethereum-ts/TypeChain)\n\n### Auto Contract Type Generation\n\n**Note**: After adding in your new contract ABIs (in JSON format) to the `/contracts` folder, run `yarn compile-contract-types` to generate the types.\n\nYou can import these types when declaring a new Contract hook. The types generated show the function params and return types of your functions, among other helpful types. \n\n```ts\nimport MY_CONTRACT_ABI from \"../contracts/MY_CONTRACT.json\";\nimport type { MY_CONTRACT } from \"../contracts/types\";\nimport useContract from \"./useContract\";\n\nexport default function useMyContract() {\n  return useContract\u003cMY_CONTRACT\u003e(CONTRACT_ADDRESS, MY_CONTRACT_ABI);\n}\n```\n\n## Previous Art\n\n- [NoahZinsmeister/hypertext](https://github.com/NoahZinsmeister/hypertext)\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-tonny8%2Fnext-web3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-tonny8%2Fnext-web3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-tonny8%2Fnext-web3/lists"}