{"id":22051499,"url":"https://github.com/unboxed-software/web3-react-magic-connect-nextjs","last_synced_at":"2026-04-16T05:34:21.295Z","repository":{"id":157611373,"uuid":"621831765","full_name":"Unboxed-Software/web3-react-magic-connect-nextjs","owner":"Unboxed-Software","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-28T21:40:55.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T15:33:46.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://web3-react-magic.vercel.app","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/Unboxed-Software.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":"2023-03-31T13:35:08.000Z","updated_at":"2023-04-06T22:44:19.000Z","dependencies_parsed_at":"2023-11-28T22:43:19.015Z","dependency_job_id":null,"html_url":"https://github.com/Unboxed-Software/web3-react-magic-connect-nextjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Unboxed-Software/web3-react-magic-connect-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unboxed-Software%2Fweb3-react-magic-connect-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unboxed-Software%2Fweb3-react-magic-connect-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unboxed-Software%2Fweb3-react-magic-connect-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unboxed-Software%2Fweb3-react-magic-connect-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Unboxed-Software","download_url":"https://codeload.github.com/Unboxed-Software/web3-react-magic-connect-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unboxed-Software%2Fweb3-react-magic-connect-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-30T15:09:26.046Z","updated_at":"2026-04-16T05:34:21.278Z","avatar_url":"https://github.com/Unboxed-Software.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Next.js - web3-react Magic Connect Example\n\nThis is a minimal implementation of the `@magiclabs/web3-react` Magic Connect Connector in Next.js.\nIt includes a wallet selector modal, network switching, message signing, and NFT minting. Note that the NFT contract is only deployed and implemented for Sepolia.\n\n## Getting started\n\n1. Clone this repo\n2. Install dependencies: `npm install`\n3. Rename `.env.example` to `.env` and replace variables with your own. You can get your own Magic Connect API Key by creating an account [here](https://magic.link/).\n4. Run the development server: `npm run dev`\n\n## Magic Connect Connector\n\n```ts\nimport { initializeConnector } from \"@web3-react/core\"\nimport { MagicConnect } from \"@magiclabs/web3-react\"\n\n// Initialize the MagicConnect connector\nexport const [magicConnect, hooks] = initializeConnector\u003cMagicConnect\u003e(\n  (actions) =\u003e\n    new MagicConnect({\n      actions,\n      options: {\n        apiKey: process.env.NEXT_PUBLIC_MAGICKEY, // Magic Connect Publishable API key\n        networkOptions: {\n          rpcUrl: \"https://rpc2.sepolia.org\", // Sepolia Testnet RPC URL\n          chainId: 11155111, // Chain ID for the Sepolia network\n        },\n      },\n    })\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funboxed-software%2Fweb3-react-magic-connect-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funboxed-software%2Fweb3-react-magic-connect-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funboxed-software%2Fweb3-react-magic-connect-nextjs/lists"}