Explore chapters and articles related to this topic
Blockchain with Corona Virus: Moving Together to Prevent Future Pandemics
Published in Vineet Kansal, Raju Ranjan, Sapna Sinha, Rajdev Tiwari, Nilmini Wickramasinghe, Healthcare and Knowledge Management for Society 5.0, 2021
P M Srinivas, Supriya B Rao, Shailesh Shetty S, Shiji Abraham, Harisha
The above architecture diagram comprises a client's browser, which is nothing but a normal browser such as Chrome or Firefox, where the user views the website. Web3.js is a set of libraries that permit the browser to engage with the blockchain. It also lets you examine and write the statistics from smart contracts. The ethers are transferred among the accounts. Ether is the native cryptocurrency of the Ethereum blockchain. It is not possible to do transactions on Ethereum without using ethers. So, our application offers service to its users with a donation in ethers. Ethereum network has nodes that share the same data copy (Figure 7.7).
Resource Optimization of Cloud Services with Bi-layered Blockchain
Published in Asis Kumar Tripathy, Chiranji Lal Chowdhary, Mahasweta Sarkar, Sanjaya Kumar Panda, Cognitive Computing Using Green Technologies, 2021
J. Chandra Priya, Sathia Bhama Ponsy R. K.
Ethereum Plasma cuts down unnecessary computations on the main chain. It deals with the smart contracts and broadcast the verified transactions to the parent chain for further validation. This subprocess minimizes the processing power and time, thereby speeding up the transactions to get committed faster. Ganache sets up a local blockchain network that allows developers to create and deploy smart contracts and develop decentralized applications (Dapp). Truffle framework has been used to develop Dapps. The basic folder structure contains contracts, migrations, and truffle.js. Web3.js is used for interaction between smart contract and blockchain network. Metamask extension is used for browser support to connect with blockchain. The deployed smart contracts are stored as blocks in the blockchain network with a block number. Since they are now deployed, they become immutable and their business cannot be updated or changed further. The set of cloud resources is assigned with a unique identifier associated with tokens. A constructor is one who initializes the resources and decentralizes users to register online to acquire the tokens; set out requests on the resource on-demand; request function allows the user to place a request on a resource or set of resources. The status of the resource and the requestor should be reflected at any instance on queried, which is managed by the function Stats. The smart contract has Resource and User structs, and other data items — an array of items, an array of users, an array of req_granted, mappings, and physical locations. The code snippet shows the data structure to hold the details of cloud resources and users with identities and tokens. As a sample, the functions for a request to a resource and the users who maintained that resource.
A distributed dynamic authorisation method for Internet+ medical & healthcare data access based on consortium blockchain
Published in Enterprise Information Systems, 2022
Boyi Xu, Li Da Xu, Yuxiao Wang, Hongming Cai
Ethereum is an open source public blockchain platform with smart contract functionality, providing a decentralised Ethereum Virtual Machine through its dedicated cryptocurrency Ether (‘ETH’) to process peer-to-peer contracts Demirkan, Demirkan, and McKee 2020). The smart contract is written in Solidity, compiled using Remix as the IDE, and a JavaScript VM is selected for contract deployment. The deployment and invocation architecture of the smart contract is shown in Figure 5, where members of the consortium blockchain deploy and invoke the smart contract through an interactive platform built on Java Script and Html based on Web3.js. At the same time, blocks with transaction information and declaration events are added to the blockchain in the local database. With the incentive mechanism and consensus algorithm, miners will merge the newly generated blocks with transaction information and declaration events into the main consortium blockchain, which makes the medical data keep tamper-proofing. The interaction module, on the other hand, uses event listening mechanisms to filter the events broadcast to the consortium blockchain, with the user (doctor, hospital or patient) making information feedback and decisions supported by hospital information systems (HISs), which in turn invoke a smart contract to drive the information authorisation process. By declaring and listening to the information interaction in the blockchain, the entire process of authorisation of medical privacy data can be guaranteed to be traceable and tamper-proofing.
imseStudio: blockchain-enabled secure digital twin platform for service manufacturing
Published in International Journal of Production Research, 2023
Xinlai Liu, Yishuo Jiang, Zicheng Wang, Ray Y. Zhong, H. H. Cheung, George Q. Huang
Blockchain information service is placed in the middle of Figure 4. It serves as the middleware role to connect, manage and maintain the physical nodes with blockchain. All the three components can be physically distributed using different servers. The blockchain information service is used to achieve the basic blockchain functions, such as digital identity registry, transaction ordering and packaging, broadcast, consensus, etc. Web3.js is used to achieve the interaction between blockchain explorers and blockchain backend by calling the predefined smart contracts. Notably, web3.js is a collection of libraries that allow the users to interact with the local/remote blockchain node using an HTTP connection.
Aggregator-induced demand response and bidding strategy for electricity market environment based on Ethereum smart contracts
Published in Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, 2023
Pavan Ramchandra Padghan, Arul Daniel Samuel, Raja Pitchaimuthu
Once the smart contract is executed, it is available on the Ethereum platform for use or access. A smart contract is now set up, validated, and implemented on Remix’s JavaScript EVM. The ABI (Bytecode) of the contract is accessed through the Remix IDE compilation plugin. Ganache then simulates the endpoint URL in real-time to extend instant execution simulations, immediately published under the new network header on the custom RPC. The proposed model was implemented on a laptop, and the specification is, Windows 11 Home, Intel Core i7- @ 3.6 GHz, and 16 GB RAM. Test Environment, Ethereum Blockchain, Remix IDE, Ganache GUI (Truffle Framework), and Ethereum Client APIs, e.g., web3.js. Perform the execution.