mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nprimo
4fa5c876a7
|
1 year ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
baseWallet.png | 2 years ago |
README.md
Random Wallet
You will have to create a simple web-based wallet.
Instructions
- Create a web page,
randomWallet.html
that loads an ethereum library and connects to a local nodehttp://localhost:8545
. - When loaded the page generates a new wallet.
- The address of the wallet is displayed in an HTML element with id
address
. - The balance of this address is displayed in an HTML element with id
balance
. - A button, with id
refreshBalance
refreshes the balance.
Hint
You might need to send Ether from one of the default accounts of your local node to test the wallet. You could use the send ether
exercise from the prior quest.