gallodasballo / magic-wallet Goto Github PK
View Code? Open in Web Editor NEWEthereum Wallet with your Email - Powered by Magic
Home Page: https://magicwallet.xyz
Ethereum Wallet with your Email - Powered by Magic
Home Page: https://magicwallet.xyz
Forgive me, I'm a Junior dev who's looking forward to building on your wonderful project.
I noticed that when plugging in a new API endpoint (tokenlist) that I was getting status 429 responses after a little bit.
It looks like useETHBalance/useERCBalance are not being delayed by useEffect's setTimeout ... I've used some other references for how do this properly in react -like here- and everything looks like it should be working.
Unless I'm missing something (I dropped a console log into the hooks to see how often they were being called, and it seems like after every render).... shouldn't these functions only be called every 15 seconds via reload()?
Thank you!
Log for yarn dev
:
yarn run v1.22.18
warning ../../../package.json: No license field
$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from /Users/kishorer747/Documents/projects/magic-wallet/.env
info - Using webpack 5. Reason: no next.config.js https://nextjs.org/docs/messages/webpack5
warn - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://nextjs.org/docs/messages/react-version
It looks like you're trying to use TypeScript but do not have the required package(s) installed.Please install @types/react by running:
yarn add --dev @types/react
If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory).
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.