Skip to content

Cool number Ethereum Smart Contract with Basic Front End (Vanilla JS)

Notifications You must be signed in to change notification settings

avndp/cool-number-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

99b373e · Aug 24, 2021

History

3 Commits
Aug 24, 2021
Aug 24, 2021
Aug 24, 2021
Aug 24, 2021
Aug 24, 2021
Aug 24, 2021
Aug 24, 2021

Repository files navigation

Get & Update Random Number smart contract on Ethereum

  • A simple js app which updates a random number on click and prints the same on clicking print button. All the transactions happen on the blockchain.
  • This app contains all the essential boilerplate code for those who want to initialize a web3 frontend from a deployed contract.
  • Works as on August, 2021. I was frustrated to access smart contract methods from the front end due to the recent changes in MetaMask API / Web3.js library. Finally, this works!

Credits: https://livecodestream.dev/post/interacting-with-smart-contracts-from-web-apps/

About

Cool number Ethereum Smart Contract with Basic Front End (Vanilla JS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published