{"id":25302049,"url":"https://github.com/shivamycodee/swapyy-next","last_synced_at":"2025-04-07T01:33:16.304Z","repository":{"id":205281244,"uuid":"713839189","full_name":"Shivamycodee/swapyy-next","owner":"Shivamycodee","description":"AA (Account Abstraction Applied) ","archived":false,"fork":false,"pushed_at":"2024-04-02T10:58:43.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T06:51:32.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://swapyy-next.vercel.app","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/Shivamycodee.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-11-03T10:45:29.000Z","updated_at":"2023-11-03T10:52:50.000Z","dependencies_parsed_at":"2024-04-02T11:58:19.631Z","dependency_job_id":"03c65ef6-ccec-48a8-810c-27ef0159f0d8","html_url":"https://github.com/Shivamycodee/swapyy-next","commit_stats":null,"previous_names":["shivamycodee/swapyy-next"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fswapyy-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fswapyy-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fswapyy-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fswapyy-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shivamycodee","download_url":"https://codeload.github.com/Shivamycodee/swapyy-next/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247577930,"owners_count":20961196,"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":"2025-02-13T06:50:51.444Z","updated_at":"2025-04-07T01:33:16.284Z","avatar_url":"https://github.com/Shivamycodee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun 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 `app/page.js`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\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/new?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\n\n\n\n  const approveEntryPointContract = async () =\u003e {\n    const toastId = toast.loading(\"Processing Approval...\");\n\n    try {\n      const txHash = await BiconomyApprove(\n        smartAccount,\n        SwapData.USDCToken,\n        // SwapData.BICONOMY_TOKEN_PAYMASTER\n        // SwapData.BICONOMY_ENTRY_POINT\n        SwapData.BICONOMY_THISMAYWORK\n      );\n      // Dismiss the loading toast\n      toast.dismiss(toastId);\n      let link = \"https://mumbai.polygonscan.com/tx/\" + txHash;\n      setHashList(link);\n      toast.success(\"Approval Successful\");\n    } catch (error) {\n      // Dismiss the loading toast\n      toast.dismiss(toastId);\n      console.error(\"Error during Approval:\", error);\n      toast.error(\"Approval failed. Please try again.\");\n    }\n  };\n\n\n   // const handleAlchemy = async()=\u003e{\n\n  //   try{\n  //     const provider = await AlchemyProviderAPI();\n  //     setProviderInstance(provider);\n  //     let scaAdd = await provider.getAddress();\n  //     setCFAddress(scaAdd);\n  //     console.log(\"alchemy provider : \", provider);\n      \n  //     const walletProvider = await MetaMaskWalletProvider.connect();\n  //   const primeSdk = new PrimeSdk(walletProvider, {\n  //     chainId: 80001,\n  //   });\n\n  //   const address = await primeSdk.getCounterFactualAddress();\n  //   setPrimeWallet(address);\n  //   // setPrimeSdkInstance(primeSdk);\n\n  //   SCABalanceHandler(scaAdd, address);\n\n  //   }catch(e){\n  //     console.error(\"etherspot prime || alchemy provider error: \", e);\n  //   }\n\n\n  // }","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamycodee%2Fswapyy-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivamycodee%2Fswapyy-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamycodee%2Fswapyy-next/lists"}