Don't warry be magic ๐งโ
๐งโ Three magic lines to get started:
git clone [email protected]:hacker-dom/argent-task argent-task-hacker-dom
cd argent-task-hacker-dom
npm run start:noob
๐ฅ DevServer with hot reloads on every change:
npm start
- How long did you spend on the exercise?
- 1 day and a bit. I worked on it on Saturday and finished it off this morning. :)
- What would you improve if you had more time?
- Probably add
web3-eth-abi
in order to compute bytes of data in a programmatic manner. Ideally this would be computed at build time usingwebpack.DefinePlugin
. :-)
- Probably add
- What would you like to highlight in the code?
- Semantic HTML, fluid CSS, mocked Api, code splitting.
- How could you add authorization to this web-app, so only the wallet owner could lookup
their data?
- Prompt the user to sign a message. Check if the . This is assuming Argent wallets implement ERC-1271. However, this would have to be done on the client. Since all data is public, it would not be difficult to "hack" it and do it anyways :)