dappuniversity / eth-todo-list

Blockchain Todo App Tutorial Powered by Ethereum Smart Contracts
549 stars 549 forks source link

fixed #11 - Uncaught (in promise) ReferenceError: Web3 is not defined #12

Open jdohm opened 3 years ago

jdohm commented 3 years ago

This issue is due to the fact that metamask no longer injects web3 by default

set default account to use on web3 this resolves the following issue: Uncaught (in promise) Error: invalid address at inputAddressFormatter (formatters.js:274)

package.json

src/app.js

src/index.html

krishprasadar commented 3 years ago

Thanks for initiating this PR! Saved a lot of time for me :) Your change works!

streetsmatter commented 3 years ago

Thank You!!!

david-randoll commented 3 years ago

Thank you!!

bloolizard commented 3 years ago

Thanks! Works!

johnwalking commented 2 years ago

it helps a lot, thanks

boyerst commented 2 years ago

Thanks @jdohm! Worked like a charm

ghost commented 2 years ago

Great fix - thanks for this

montrealks commented 2 years ago

Thank you!

wenjoy commented 2 years ago

Good job. It's killed me

mrcoulter45 commented 2 years ago

Thanks! I vote this gets merged