{"id":19966230,"url":"https://github.com/marjorie-n/dapp_wallet_token","last_synced_at":"2026-04-08T20:44:56.950Z","repository":{"id":133343696,"uuid":"383132563","full_name":"marjorie-n/dApp_wallet_token","owner":"marjorie-n","description":" Create one of these Ethereum wallets: Consult his balance the balance of his Tokens; 📈 Send ERC20 tokens; ↗️ Instantiate and interact with an ERC20 smart contract. 👨‍💻","archived":false,"fork":false,"pushed_at":"2023-02-16T11:09:52.000Z","size":326,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T09:27:05.469Z","etag":null,"topics":["bootstrap","nextjs","nodejs","solidity","styled-components","web3js"],"latest_commit_sha":null,"homepage":"https://dapp-wallet-tokenerc20.netlify.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/marjorie-n.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":"2021-07-05T12:24:04.000Z","updated_at":"2023-04-18T00:02:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"17169127-06a5-47de-8e76-969813633c50","html_url":"https://github.com/marjorie-n/dApp_wallet_token","commit_stats":null,"previous_names":["marjorie-n/dapp_wallet_token"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marjorie-n/dApp_wallet_token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marjorie-n%2FdApp_wallet_token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marjorie-n%2FdApp_wallet_token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marjorie-n%2FdApp_wallet_token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marjorie-n%2FdApp_wallet_token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marjorie-n","download_url":"https://codeload.github.com/marjorie-n/dApp_wallet_token/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marjorie-n%2FdApp_wallet_token/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","nextjs","nodejs","solidity","styled-components","web3js"],"created_at":"2024-11-13T02:34:08.469Z","updated_at":"2026-04-08T20:44:56.933Z","avatar_url":"https://github.com/marjorie-n.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create a dApp to exchange ERC20 tokens\n## 🤓 Quest objectives:\nThe objective of the quest is simple, to create one of these Ethereum wallets, at least to implement the main functions:\n\nConsult his balance the balance of his Tokens; 📈\nSend ERC20 tokens; ↗️\nInstantiate and interact with an ERC20 smart contract. 👨‍💻\n\nSome reminders on Web3Js and the equivalents on EthersJs\nTo instantiate a smart contract, ERC20 or another for that matter, on Web3JS, you have to do:\n\nconst contract = new Contract (abi, address)\nThe equivalent on EthersJs is this:\n\nconst contract = new ethers.Contract (address, abi, signerOrProvider)\nIf you only want to read the data from the smart contract, you have to add a provider.\nIn the case of writing to change the state of a smart contract, it is instantiated with a signer.\n\nThen to send tokens with Web3Js, you must use this instruction\n\ncontract.methods.transfer (address, amount) .send ({from: account})\nAnd the EthersJs version:\n\ncontract.transfer (address, amount)\n\n----------------------------------------------------------------------------------------------------------\nThis 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```\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[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarjorie-n%2Fdapp_wallet_token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarjorie-n%2Fdapp_wallet_token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarjorie-n%2Fdapp_wallet_token/lists"}