Programming
Blockchain 101
Remix and Solidity
Bogdan Fiedur bogdanfiedur@gmail.com
Programming Revenue Sharing - Smart
contract
Programming Revenue Sharing - Smart
contract
Programming Revenue Sharing - Smart
contract
Programming Revenue Sharing - Smart
contract
Programming Revenue Sharing - Smart
contract
Remix - configuration
Remix - configuration
Remix - configuration
Deploying smart contract - Remix
["0x853A3F142430658A32f75A0dc891b98BF4bDF5c1","0x14723a09acff6d2a60dcdf7aa4aff308fddc160c"]
Deploying smart contract - Remix
Reading smart contract - Remix
["0xca35b7d915458ef540ade6068dfe2f44e8fa733c","0x14723a09acff6d2a60dcdf7aa4aff308fddc160c"]
Execute smart contract
Execute shareRevenue() Function
Analyze transactionAnalyze transaction
Install Metamask
https://metamask.io/
Get fake ether
Ether faucet
http://faucet.ropsten.be:3001/
Deploy contract on Ropsten network
Deploy contract to Ropsten
Access Blockchain Explorer ropsten
https://ropsten.etherscan.io/
Access Blockchain Explorer
View Your Address - Blockchain Explorer
View Transaction - Blockchain Explorer
View Contract - Blockchain Explorer
Verify your source code

Programming blockchain 101 - (Ethereum Solidity)

Editor's Notes

  • #3 1 . version 2. Class vs Contract 3. Variables are pubic, anyone can see them.
  • #4 1. Event vs log
  • #5 Constructor Attributes of msg. msg.data (bytes): complete calldata msg.gas (uint): remaining gas msg.sender (address): sender of the message (current call) msg.sig (bytes4): first four bytes of the calldata (i.e. function identifier) msg.value (uint): number of wei sent with the message
  • #13 U - unsigned (meaning this type can only represent positive integers, not positive and negative integers) INT - integer 256 - 256 bits in size
  • #14 Note amounts and select third account.
  • #15 256 hash of Disburse(uint256t,uint256)