- Download Metamask Chrome Browser Extention - https://metamask.io/
- Request Ether from Ropsten Faucet - https://faucet.ropsten.be/
- Go to Remix Browser Development - https://remix.ethereum.org
- Copy the contract code from YesbitDemo.sol and deploy it to Ropsten Network
- Retrive the deployed contract address by clicking the transaction (you may need it so save it)
- add an entry using the function add()
- view your data on the blockchain using the function employees() in the remix browser
- read the number of entries using staffcount() in the remix browser
-
Use the web3 library for interaction: https://github.com/ethereum/web3.js/
-
Web3 documentation: https://web3js.readthedocs.io/en/v1.2.0/web3-eth.html
-
Basic excercise: You can read the balance of your metamask account: https://ethereum.stackexchange.com/questions/40007/getting-metamask-accounts-balance-using-fromwei
-
Intermediate excercise: You can read the data from the past event 'employeeInformation': https://ethereum.stackexchange.com/questions/11866/web3-how-do-i-get-past-events-of-mycontract-myevent
-
Advance excercise: Read the information from the 'employees' mapping: Ask Richard