This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setValue(uint _amount) public { | |
emit stored(msg.sender, _amount); | |
_value = _amount; | |
_sender = msg.sender; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web3 = new Web3... | |
privKey=... | |
txObject = { | |
nonce: web3.utils.toHex(txnCount), | |
gasPrice: web3.utils.toHex(0), | |
gasLimit: web3.utils.toHex(parseInt(MAX_GAS_PER_TX)), | |
to: addressTo, | |
value: web3.utils.toHex(web3.utils.toWei(valueInEther, 'ether')), | |
data | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INTRO TO DHT =====> https://medium.com/unitychain/intro-to-dht-e98425fc05f1 | |
uWebsockets =====> https://github.com/uNetworking/uWebSockets.js | |
WebService architecture - Golang =====> https://medium.com/@boobo94/web-service-architecture-for-golang-developers-a4147b8141ff | |
Blockchain reference architecture =====> https://medium.com/@naveenbalani/blockchain-reference-architecture-a3df6643532c | |
multiblockchain : https://ieeexplore.ieee.org/document/8327114 | |
packaging new software: http://packaging.ubuntu.com/html/packaging-new-software.html | |
Raft consensus algorithm : https://www.google.com/amp/s/www.geeksforgeeks.org/raft-consensus-algorithm/amp/ | |
BOOK ethereum2.0 ==> https://lighthouse-book.sigmaprime.io/ | |
eth 2.0 specs ==> https://github.com/ethereum/eth2.0-specs | |
internet whitepaper: https://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm |
NewerOlder