Abstract
Blockchain is a decentralized distributed platform, where multiple peers can exchange digital assets securely all over the globe without third party based on trustiness. In blockchain, blocks are connected by using hash that maintains the order of transaction. In this paper, we have proposed a novel approach of understanding proof of work and proof of stake which are considered as consensus algorithms that are used to manage and control blocks on distributed platform. Here, the paper also presents the Ethereum, a public blockchain platform which is used to implement decentralized application over the Internet using a contract (agreement) in digital form written by using solidity language that defines the way to exchange digital assets is called smart contact. Lastly, the paper concludes with implementation methodology for creation, deployment on Ethereum blockchain, and interaction of smart contract using Node.js, Web3 library, and Infura API.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
S. Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System. (2008).
E.K. Lua, J. Crowcroft, A survey and comparison of peer-to-peer overlay network schemes. IEEE Commun. Surv. Tutorials 7(2), 72–93 (2005)
J.S. Coron, What is cryptography? IEEE Secur Privacy J 12(8) (2006)
BitFury Group. Proof of Stake versus Proof of Work White Paper (2015)
Bitcoin Energy Consumption Index. https://digiconomist.net/bitcoin-energy-consumption. Last accessed 2018/07/20
Matt Springer. Is Bitcoin currently experiencing a selfish miner attack? https://scienceblogs.com/builtonfacts/2014/01/11/is-bitcoin-currently-experiencing-a-selfish-miner-attack/. Last accessed 2018/07/23
How Bitcoin Mining/Block Rewards Work. https://www.anythingcrypto.com/guides/bitcoin-mining-block-rewards-2018. Last accessed 2018/07/24
https://bitinfocharts.com/ethereum/. Last accessed 2018/07/23
Proof of Stake Instead of Proof of Work. https://bitcointalk.org/index.php?topic=27787.0. 2018/07/25
Marko Vukolic. The quest for scalable blockchain fabric: Proof-of-work vs. bft replication, in Proceedings of the IFIP WG 11.4 Workshop iNetSec 2015, Open Problems in Network Security, LNCS, vol. 9591 (Springer, Zurich, Switzerland), pp. 112–125 (2015)
V. Buterin, Proof of stake: How I learned to love weak subjectivity, in Ethereum Blog. https://blog.ethereum.org/2014/11/25/proof-stake-learned-love-weak-subjectivity/. Last accessed 2018/07/26
V. Buterin, A Next-Generation Smart Contract and Decentralized Application Platform. https://github.com/ethereum/wiki/wiki/White-Paper/. Last accessed 2018/07/27
Ethereum Docs. https://www.ethereum.org/. Last accessed 2018/07/27
Travis Patron. What’s the big idea behind Ethereum World Computer? https://www.coindesk.com/whats-big-idea-behind-ethereums-world-computer/.Last accessed 2018/07/28
https://github.com/ethereum/wiki/wiki/Ethereum-Virtual-Machine-(EVM)-Awesome-List. Last accessed 2018/07/28
EtherTweet: Microblogging on the Ethereum Blockchain. https://ethertweet.net/. Last accessed 2018/07/27
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Panda, S.K., Satapathy, S.C. (2021). An Investigation into Smart Contract Deployment on Ethereum Platform Using Web3.js and Solidity Using Blockchain. In: Bhateja, V., Satapathy, S.C., Travieso-González, C.M., Aradhya, V.N.M. (eds) Data Engineering and Intelligent Computing. Advances in Intelligent Systems and Computing, vol 1407. Springer, Singapore. https://doi.org/10.1007/978-981-16-0171-2_52
Download citation
DOI: https://doi.org/10.1007/978-981-16-0171-2_52
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-0170-5
Online ISBN: 978-981-16-0171-2
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)