VOLUME-7 ISSUE-8, AUGUST 2019 , International Journal of Research in Advent Technology (IJRAT) , ISSN: 2321-9637 (Online) Published By: MG Aricent Pvt Ltd
At a very high level, the Blockchain is a decentralized ledger, or list, of all transactions across a peer-to-peer network. This is the technology underlying Bitcoin and other cryptocurrencies, and it has the potential to disrupt a wide variety of business processes.
Blockchain , Deploying your first smart contract to azure ethereum blockchain.
Slides from my session in "Global Azure Bootcamp Chandigarh"
Presentation starts with basic terms like transactions , ledger and contracts. Talks about what is blockchain and ethereum and concludes with deployment of a smart contract to azure ethereum blockchain.
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY csandit
An appealing feature of blockchain technology is smart contracts. A smart contract is
executable code that runs on top of the blockchain to facilitate, execute and enforce an
agreement between untrusted parties without the involvement of a trusted third party. In this
paper, we conduct a systematic mapping study to collect all research that is relevant to smart
contracts from a technical perspective. The aim of doing so is to identify current research topics
and open challenges for future studies in smart contract research. We extract 24 papers from
different scientific databases. The results show that about two thirds of the papers focus on
identifying and tackling smart contract issues. Four key issues are identified, namely, codifying,
security, privacy and performance issues. The rest of the papers focuses on smart contract
applications or other smart contract related topics. Research gaps that need to be addressed in
future studies are provided.
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTSijcsit
An appealing feature of blockchain technology is smart contracts. A smart contract is executable code that runs on top of the blockchain to facilitate, execute and enforce an agreement between untrusted parties without the involvement of a trusted third party. In this paper, we conduct a systematic mapping study to collect all research that is relevant to smart contracts from a technical perspective. The aim of doing so is to identify current research topics and open challenges for future studies in smart contract research. We extract 24 papers from different scientific databases. The results show that about two thirds of the papers focus on identifying and tackling smart contract issues. Four key issues are identified, namely, codifying, security, privacy and performance issues. The rest of the papers focuses on smart contract applications or other smart contract related topics. Research gaps that need to be addressed in future studies are provided.
Explains what the Blockchain is and how it works. Features slides about the Cryptography, P2P Networking, Blockchain Data Structure, Bitcoin Transactions, Proof of Work Algorithm (Mining) and Scripts.
At a very high level, the Blockchain is a decentralized ledger, or list, of all transactions across a peer-to-peer network. This is the technology underlying Bitcoin and other cryptocurrencies, and it has the potential to disrupt a wide variety of business processes.
Blockchain , Deploying your first smart contract to azure ethereum blockchain.
Slides from my session in "Global Azure Bootcamp Chandigarh"
Presentation starts with basic terms like transactions , ledger and contracts. Talks about what is blockchain and ethereum and concludes with deployment of a smart contract to azure ethereum blockchain.
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY csandit
An appealing feature of blockchain technology is smart contracts. A smart contract is
executable code that runs on top of the blockchain to facilitate, execute and enforce an
agreement between untrusted parties without the involvement of a trusted third party. In this
paper, we conduct a systematic mapping study to collect all research that is relevant to smart
contracts from a technical perspective. The aim of doing so is to identify current research topics
and open challenges for future studies in smart contract research. We extract 24 papers from
different scientific databases. The results show that about two thirds of the papers focus on
identifying and tackling smart contract issues. Four key issues are identified, namely, codifying,
security, privacy and performance issues. The rest of the papers focuses on smart contract
applications or other smart contract related topics. Research gaps that need to be addressed in
future studies are provided.
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTSijcsit
An appealing feature of blockchain technology is smart contracts. A smart contract is executable code that runs on top of the blockchain to facilitate, execute and enforce an agreement between untrusted parties without the involvement of a trusted third party. In this paper, we conduct a systematic mapping study to collect all research that is relevant to smart contracts from a technical perspective. The aim of doing so is to identify current research topics and open challenges for future studies in smart contract research. We extract 24 papers from different scientific databases. The results show that about two thirds of the papers focus on identifying and tackling smart contract issues. Four key issues are identified, namely, codifying, security, privacy and performance issues. The rest of the papers focuses on smart contract applications or other smart contract related topics. Research gaps that need to be addressed in future studies are provided.
Explains what the Blockchain is and how it works. Features slides about the Cryptography, P2P Networking, Blockchain Data Structure, Bitcoin Transactions, Proof of Work Algorithm (Mining) and Scripts.
Blockchain technology has changed the revolution of data storage and privacy. Decentralized data storage technique in Blockchain introduced the dependent ledger system. The main motive of Blockchain is to avoid the third party authorization and validation process and intermediaries. This research process shows the different areas where Blockchain can be implemented and some guidelines. And what are the factors need to be considered while deploying the distributed ledgers. Nitin | Dr. Lakshmi J. V. N | Sharique Raza "A Study on Applications of Blockchain" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-6 , October 2020, URL: https://www.ijtsrd.com/papers/ijtsrd33693.pdf Paper Url: https://www.ijtsrd.com/computer-science/other/33693/a-study-on-applications-of-blockchain/nitin
Blockchain data structures and fundamentalCodium Club
The blockchain is a growing list of records called blocks which are linked using cryptography. So, here's a small introductory presentation to describe the basic fundamentals and data structure of the blockchain.
A short seminar presentation on the technical background of Bitcoins. Some basic concepts behind bitcoin addresses are discussed. An overview on the concepts of transactions and blocks is given.
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies anupriti
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies was held at G D Goenka University, Sohna Road,Gurgaon on 22nd Feb 2018.Sharing here the presentation I gave for info.Readers may contact me for any clarifications on the subject content please.
This is a presentation is an introduction to the blockchain. It defines, what is the blockchain and shows how JavaScript developers can create blockchain applications.
Everything you ever needed to know about the bitcoin system all explained in baby language, from how it works to how to get started with creating an account, funding an account setting up mining, creating a secure wallet, e.t.c
The project deals about how blockchain works, proof-of-work and merkle tree hash function. The project also tries to explain how the bitcoin uses ECDSA algorithmt power the cryptography.
A basic overview of what blockchain is with step-by-step easy to follow explanation of its core concepts. It should be easy for anyone with zero knowledge of blockchain to follow through the slides
The slides of the tutorial "Graph-based Management and Mining of Blockchain Data" by Arijit Khan (https://twitter.com/rijitk) and Cuneyt Akcora (https://twitter.com/cuneytgurcan) at the Conference on Information and Knowledge Management (CIKM2022) in Atlanta, Georgia, USA.
An appealing feature of blockchain technology is smart contracts. A smart contract is executable code that runs on top of the blockchain to facilitate, execute and enforce an agreement between untrusted parties without the involvement of a trusted third party. In this paper, we conduct a systematic mapping study to collect all research that is relevant to smart contracts from a technical perspective. The aim of doing so is to identify current research topics and open challenges for future studies in smart contract research. We extract 24 papers from different scientific databases. The results show that about two thirds of the papers focus on identifying and tackling smart contract issues. Four key issues are identified, namely, codifying, security, privacy and performance issues. The rest of the papers focuses on smart contract applications or other smart contract related topics. Research gaps that need to be addressed in future studies are provided.
http://aircconline.com/ijcsit/V9N5/9517ijcsit11.pdf
An appealing feature of blockchain technology is smart contracts. A smart contract is executable code that runs on top of the blockchain to facilitate, execute and enforce an agreement between untrusted parties without the involvement of a trusted third party. In this paper, we conduct a systematic mapping study to
collect all research that is relevant to smart contracts from a technical perspective. The aim of doing so is to identify current research topics and open challenges for future studies in smart contract research. We extract 24 papers from different scientific databases. The results show that about two thirds of the papers
focus on identifying and tackling smart contract issues. Four key issues are identified, namely, codifying, security, privacy and performance issues. The rest of the papers focuses on smart contract applications or other smart contract related topics. Research gaps that need to be addressed in future studies are provided.
Blockchain Computing: Prospects and Challenges for Digital Transformation Pr...eraser Juan José Calderón
Blockchain Computing: Prospects and Challenges for Digital Transformation . Professor Syed Akhter Hossain.
Abstract:
A revolutionary trustable sharable computing outcome, the blockchain is essentially a distributed database of records or public ledger of all transactions originated from digital events and shared among participating parties within a computing framework. Each transaction of the chain in the public ledger is verified by consensus of a majority of the participants in the system and its constituents. Once recorded, information can never be erased and neither altered. The blockchain contains a certain and verifiable record of every single transaction ever made during the business operations. In general sense, the blockchain could be described simply as being a way of storing the information of a transaction, between multiple parties in a trustable way. Recording, sharing, storing and redistributing contents in a secure and decentralized way. Being owned, run and monitored by everybody and without anyone controlling it. Besides, avoiding any kind of modifications or abuses from a central authority. Blockchain technology is non-controversial and has worked flawlessly over the last few years and is being successfully applied to both financial and non-financial world applications and listed as as the most important invention since the Internet itself. Besides, digital transformation is taking off as rapid agent for change as part of the global business convergence. In this article, detail of blockchain technologies is presented from the pe
Blockchain technology has changed the revolution of data storage and privacy. Decentralized data storage technique in Blockchain introduced the dependent ledger system. The main motive of Blockchain is to avoid the third party authorization and validation process and intermediaries. This research process shows the different areas where Blockchain can be implemented and some guidelines. And what are the factors need to be considered while deploying the distributed ledgers. Nitin | Dr. Lakshmi J. V. N | Sharique Raza "A Study on Applications of Blockchain" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-6 , October 2020, URL: https://www.ijtsrd.com/papers/ijtsrd33693.pdf Paper Url: https://www.ijtsrd.com/computer-science/other/33693/a-study-on-applications-of-blockchain/nitin
Blockchain data structures and fundamentalCodium Club
The blockchain is a growing list of records called blocks which are linked using cryptography. So, here's a small introductory presentation to describe the basic fundamentals and data structure of the blockchain.
A short seminar presentation on the technical background of Bitcoins. Some basic concepts behind bitcoin addresses are discussed. An overview on the concepts of transactions and blocks is given.
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies anupriti
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies was held at G D Goenka University, Sohna Road,Gurgaon on 22nd Feb 2018.Sharing here the presentation I gave for info.Readers may contact me for any clarifications on the subject content please.
This is a presentation is an introduction to the blockchain. It defines, what is the blockchain and shows how JavaScript developers can create blockchain applications.
Everything you ever needed to know about the bitcoin system all explained in baby language, from how it works to how to get started with creating an account, funding an account setting up mining, creating a secure wallet, e.t.c
The project deals about how blockchain works, proof-of-work and merkle tree hash function. The project also tries to explain how the bitcoin uses ECDSA algorithmt power the cryptography.
A basic overview of what blockchain is with step-by-step easy to follow explanation of its core concepts. It should be easy for anyone with zero knowledge of blockchain to follow through the slides
The slides of the tutorial "Graph-based Management and Mining of Blockchain Data" by Arijit Khan (https://twitter.com/rijitk) and Cuneyt Akcora (https://twitter.com/cuneytgurcan) at the Conference on Information and Knowledge Management (CIKM2022) in Atlanta, Georgia, USA.
An appealing feature of blockchain technology is smart contracts. A smart contract is executable code that runs on top of the blockchain to facilitate, execute and enforce an agreement between untrusted parties without the involvement of a trusted third party. In this paper, we conduct a systematic mapping study to collect all research that is relevant to smart contracts from a technical perspective. The aim of doing so is to identify current research topics and open challenges for future studies in smart contract research. We extract 24 papers from different scientific databases. The results show that about two thirds of the papers focus on identifying and tackling smart contract issues. Four key issues are identified, namely, codifying, security, privacy and performance issues. The rest of the papers focuses on smart contract applications or other smart contract related topics. Research gaps that need to be addressed in future studies are provided.
http://aircconline.com/ijcsit/V9N5/9517ijcsit11.pdf
An appealing feature of blockchain technology is smart contracts. A smart contract is executable code that runs on top of the blockchain to facilitate, execute and enforce an agreement between untrusted parties without the involvement of a trusted third party. In this paper, we conduct a systematic mapping study to
collect all research that is relevant to smart contracts from a technical perspective. The aim of doing so is to identify current research topics and open challenges for future studies in smart contract research. We extract 24 papers from different scientific databases. The results show that about two thirds of the papers
focus on identifying and tackling smart contract issues. Four key issues are identified, namely, codifying, security, privacy and performance issues. The rest of the papers focuses on smart contract applications or other smart contract related topics. Research gaps that need to be addressed in future studies are provided.
Blockchain Computing: Prospects and Challenges for Digital Transformation Pr...eraser Juan José Calderón
Blockchain Computing: Prospects and Challenges for Digital Transformation . Professor Syed Akhter Hossain.
Abstract:
A revolutionary trustable sharable computing outcome, the blockchain is essentially a distributed database of records or public ledger of all transactions originated from digital events and shared among participating parties within a computing framework. Each transaction of the chain in the public ledger is verified by consensus of a majority of the participants in the system and its constituents. Once recorded, information can never be erased and neither altered. The blockchain contains a certain and verifiable record of every single transaction ever made during the business operations. In general sense, the blockchain could be described simply as being a way of storing the information of a transaction, between multiple parties in a trustable way. Recording, sharing, storing and redistributing contents in a secure and decentralized way. Being owned, run and monitored by everybody and without anyone controlling it. Besides, avoiding any kind of modifications or abuses from a central authority. Blockchain technology is non-controversial and has worked flawlessly over the last few years and is being successfully applied to both financial and non-financial world applications and listed as as the most important invention since the Internet itself. Besides, digital transformation is taking off as rapid agent for change as part of the global business convergence. In this article, detail of blockchain technologies is presented from the pe
An evaluation of Ethereum technology. The weakness and the strength of this new blockchain technology. It includes also a comparison between Ethereum and Bitcoin.
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithmTELKOMNIKA JOURNAL
Blockchain Technology is exclusively used to make online transactions secure by
maintaining a distributed and decentralized ledger of records across multiple computers.
Tendermint is a general-purpose blockchain engine that is composed of two
parts; Tendermint Core and the blockchain application interface. The application interface
makes Tendermint suitable for a wide range of applications. In this paper, we
analyze and improve Practical Byzantine Fault Tolerant (PBFT), a consensus-based
Tendermint blockchain algorithm. In order to avoid negative issues of locks, we first
propose a lock-free algorithm for blockchain in which the proposal and voting phases
are concurrent whereas the commit phase is sequential. This consideration in the algorithm
allows parallelism. Secondly, a new methodology is used to decide the size
of the voter set which is a subset of blockchain nodes, further investigating the block
sensitivity and trustworthiness of nodes. Thirdly, to fairly select the voter set nodes,
we employ the random walk algorithm. Fourthly, we imply the wait-freedom property
by using a timeout due to which all blocks are eventually committed or aborted. In
addition, we have discussed voting conflicts and consensuses issues that are used as a
correctness property, and provide some supportive techniques.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
1. International Journal of Research in Advent Technology, Vol.7, No.8, August 2019
E-ISSN: 2321-9637
Available online at www.ijrat.org
5
doi: 10.32622/ijrat. 77201913
Abstract— The potentiality of Blockchain technology is
widespread and applied to diverse fields. Blockchain is a
distributed ledger of transactions that store immutable
records in chronological order in an append-only mode.
Hence, humongous data is stored on the blockchain and will
continuously expand over time. Blockchain has been rapidly
adopted by many businesses for storing the provenance data
because of its salient features like immutability, robustness
and tamperproof. Blockchain stores data provenance as
transactions that are collected from sources like a centralized
cloud or decentralized cloud that helps in identifying
cybercrimes. This paper emphasizes on the different
approaches of querying the data provenance transactions
stored in Ethereum Blockchain based on various search
parameters using REST API web services. The approach not
only queries based on the first-class data elements like
blocks, transactions, account address and contract address but
also queries based on the provenance data stored on the
Ethereum Blockchain explained with a use case LegalProv.
Keywords- Blockchain; Query, Centralized Cloud;
Decentralized Cloud; Data Provenance;
I. INTRODUCTION
As the name suggests, Blockchain is a chain of blocks where
a set of transactions are grouped into blocks and all the blocks
are linked to each other cryptographically. A transaction
could be an exchange of cryptocurrency or could be a simple
data that is broadcasted to all the nodes in the peer-to-peer
network. Each peer in the network holds an entire copy of the
Blockchain. Each transaction is validated and combined to
form a block and a new block is appended to the existing
Blockchain. Ethereum blockchain is a Turing complete
language that allows developing smart contracts which are
later compiled into bytecode and executed by EVM
(Ethereum Virtual Machine). Ethereum has its own
cryptocurrency called Ethers that are used as a payment
source for processing services on the Ethereum
network. Blockchain technology has gained popularity with
its best-known implementation Bitcoin Nakamoto, S. [1].
There are many use cases that store provenance data in
blockchain for maintaining secure tamper-proof provenance.
Data provenance using blockchain-based helps in traceability
Manuscript revised on August 10, 2019 and published on September 10,
2019
Navya Gouru , GITAM Institute of Science, GITAM (Deemed to be
University), Visakhapatnam, India. Email: navya.phd@gmail.com
Nagalakshmi Vadlamani, GITAM Institute of Science, GITAM (Deemed to
be University), Visakhapatnam, India.
for agricultural products J. Hua et al. [2] in protecting food
safety to solve the trust issue among different stakeholders
for the supply chain in agricultural products. Tracking the
provenance data in mining and metal industries S. Mann et al.
[3] which is a crucial unit of the global economy which abates
the issues like traceability and increase transparency among
various suppliers. IoT also Implements blockchain-based
data provenance U. Javaid et al. [4] for integrity by using
Physical Unclonable Functions (PUFs) and ethereum
blockchain smart contracts to tolerate tampering attacks.
Multimedia also utilizes blockchain-based data provenance
for privacy protection A. Vishwa et al. [5] and there are
various other sectors like financial institutions, decentralized
government, health care, real estate, IoT and also cloud
computing that uses blockchain technology. Blockchain
helps in cloud security by tracking the data provenance of
operations performed on the centralized cloud Ramachandran
et al. [6] and decentralized cloud Navya et. al. [7] Now
storing such provenance data on the blockchain is more
efficient because of its robust features. Ethereum blockchain
stores humongous data as transactions and efficient
approaches are required in retrieving the data from the
blockchain. The major components in Ethereum blockchain
for data retrieval can be done based on Block number,
Transaction hash, EOA (Externally owned accounts) and CA
(Contract address) which are considered as first-class
elements.
In this paper, the authors emphasize on various approaches to
querying the data provenance from ethereum blockchain that
includes using web3JS, using Rest API’s web services to
fetch from MongoDB and also SQL.
The other sections of this paper are formulated as
follows. Section 2 discusses the background and related
work of the ethereum blockchain with first-class elements.
Various approaches to querying the ethereum blockchain are
discussed in explained in section 3. Section 4 explains about
querying the ethereum blockchain with search parameters of
provenance data stored as input data in a transaction with
REStful API’s. Finally, section 5 concludes the paper.
II. BACKGROUND AND RELATED WORK
Efficient data retrieval approaches are mandated to any
storage platform as data stored serves no purpose without
retrieval. The transactions once stored in Blockchain cannot
be edited or deleted hence data will only grow over time. This
leads to massive data storage in blockchain and retrieving the
required information from this humongous data becomes
quite tedious.
Ethereum blockchain explorer retrieves the blockchain data
with the first-class data elements like blocks, transactions and
accounts. The most well-known ethereum blockchain
Querying the Data Provenance from Ethereum Blockchain
Navya Gouru , Nagalakshmi Vadlamani
2. International Journal of Research in Advent Technology, Vol.7, No.8, August 2019
E-ISSN: 2321-9637
Available online at www.ijrat.org
6
doi: 10.32622/ijrat. 77201913
explorers are etherscan, etherscan explorer, [8], ethplorer,
ethplorer explorer, [9], etherchain, explorer [10].
As stated, Blockchain is a collection of blocks that hold
transactions that are executed between two accounts by
invoking a smart contract. Here, the first-class elements in
Ethereum blockchain are accounts, transactions, blocks and
smart contracts. All these first-class elements unique
identities are used to query the Ethereum blockchain.
The structure of a block is classified into two types called
Block Header and the set of Transactions that are mined in
the block. Each block holds the hashing information about
the previous to form a link and there exists a Merkle tree of
hashes for state root, transaction root and receipt root and
other fields. The key point is storing the data in the
blockchain and the entire concept, the structure of the
blockchain goal is to maintain tamper-proof, immutable
storage of the data. The data enters the blockchain by
interacting with a smart contract with an account address
(EOA). Internally, the smart contract creates logs by
triggered events. Events are triggered either by an account
address or by another contract address. Now, retrieving the
data from ethereum blockchain in tedious.
Accounts: Ethereum accounts are broadly classified into two
types known as Externally Owned Accounts (EOA) and
Contract Accounts (CA) which have an address of size 20
bytes each. Externally owned accounts are accounts that are
controlled by a user with a private key. EOA is used to sign
the transaction with a private key to get broadcasted into the
network. As an example, to send Ethers to another user both
the users should hold an EOA account where the sender of the
accounts signs the transaction with his private key. On the
other side, contract accounts are created when deploying a
smart contract and is controlled by code in the smart contract.
The Contract address can be invoked by another EOA or CA.
The components of the Account are:
● Nonce: Number of transactions or contracts created
● Balance: Number of Wei’s in ethers
● storageRoot” Root node hash in Merkle tree
● codeHash: Code hash of EVM or an empty string
Transaction: Transaction is a manner of interactions with
the ethereum blockchain network that modifies the current
state of the network. The transaction occurs between different
types of accounts. Transactions are broadly classified into
two types namely, messages call and contract creations where
both are initiated by an externally owned account and
broadcast to the network. Contract creation is a transaction
created for deploying a new contract whereas message calls
are transactions that are created when interacting with
existing contracts.
The attributes of a transaction are as below:
● Transaction Hash: unique identifier generated when
a transaction is created.
● Status: status of the transaction.
● Block: number of the block in which the transaction
is mined.
● Timestamp: date and time at which the transaction is
mined.
● From: account address of the sender.
● To: account address of the receiver.
● Value: the value being transacted in Ethers.
● Transaction Fee: amount paid to the miner in Ethers.
● Gas Limit: the highest amount of gas provided for
the transaction.
● Gas Used by Transaction: the amount of gas utilized by
this transaction.
● Gas Price: cost per unit of gas for the transaction.
● Nonce: index of the transaction, starts at 0.
● Input Data: additional information for this
transaction.
Blocks:
A blockchain is a list of blocks where each block holds a
group of transactions. A typical block consists basically of
two types of information known as Block Header and a
collection of Transactions.
The attributes of the block are:
● Block number: unique integer identifier of a block.
● Block height: refers to the length of the blockchain.
● Timestamp: data and time at the block’s inception.
● Transactions: number of transactions in the block.
● Mined by: account address of the miner of the block.
● Block reward: reward in ethers for mining the block.
● Uncles reward: an extra reward for including uncles
as part of the block.
● Difficulty: the amount of effort to mine the block
adjusts according to time.
● Total difficulty: the total difficulty of the chain until
this block.
● Size: determined by block’s gas limit.
● The gas used: total gas used in the block and its
percentage.
● Gas limit: provided by all the transactions in the
block.
● Extra data: extra information included by the miner.
● Hash: hash of previous block header.
● Parent hash: hash of the parent block.
● Sha3uncles: ethereum JS RLP encoding technique.
● Nonce: value used to validate proof of work.
EtherQL F. A. Pratama et. Al. [11] a query layer for
Ethereum provides efficient queries to retrieve data from
ethereum blockchain such as range queries and top-k queries.
EtherQL is designed to also aid data analysts and researchers
by providing different levels of abstraction. To achieve this,
the authors designed a middleware that synchronizes data
from the Ethereum public network with a built-in client in
real-time and presents the users with a query layer for
efficient access to the blockchain data. This layer has four
modules: sync manager, handler chain, persistence
framework and developer interface. The design used
MongoDB, a NoSQL database, as the external storage to save
the output from the handler chain. The data stored in
MongoDB can be fetched using various queries in an API
interface. The authors of M. Muzamma et. Al. [12] extended
the functionality of EtherQL by including Retrieval Queries
with multiple search parameters, Aggregate Function Queries
3. International Journal of Research in Advent Technology, Vol.7, No.8, August 2019
E-ISSN: 2321-9637
Available online at www.ijrat.org
7
doi: 10.32622/ijrat. 77201913
like count, sum, avg, min, max and Ranking query support
for sorting the data. ChainSQL S. Bragagnolo et.al. [13] In
this study, the ChainSQL and its unique functions with the
help of three use cases by implanting them between the client
application and the database as middleware. The first case is a
multi-active, tamper-proof database, the second case is a
recovery system from a data-level disaster and the third case
is an audit middleware. The efficiency of the design is
shown with a thorough experimental study. ChainSQL is the
first design to present blockchain’s tamper-proof and rapid
query processing features in distributed databases. The
usefulness of ChainSQL can be seen from its use in the areas
of finance and supply chain.
III. APPROACHES IN QUERYING ETHEREUM BLOCKCHAIN
Broadly, there are two approaches in querying the ethereum
blockchain based on the search parameters.
1. To directly query the blockchain using web3 javascript
implementation with web3JS commands that interact
between web applications and ethereum blockchain. Using
web3js commands querying the blockchain can be done on
the first-class elements like account address, contract
address, transaction hash and block.
Figure 1: Retrieving directly from Blockchain
2. To maintain a local copy of the blockchain database and
query the records from the local database instead of the
ethereum blockchain.
Figure 2: Retrieving from local database
The event listener listens on the ethereum network for a new
block and automatically detects and captures the block it is
generated. In the ethereum network, it usually takes 14-30
seconds for the generation of a new block. The data from the
block is extracted and stored in the local MongoDB database
in BSON (Binary JSON) format. BSON is the binary
encoding of JSON documents used by MongoDB to store
data in collections. The data from the database is retrieved by
the user in JSON format by using the REST API.
Since the majority of the developers are comfortable by
querying with SQL hence maintaining a local ethereum
database provides ease to the developer and this includes
local databases like MongoDB, Postgres, LevelDB, SQL, etc.
There are two popular choices to query eth events [15]
namely, elastic search query DSL and ethereum SQL with
Postgres database.
i) Accessing Eth Events using the Ethereum SQL Database:
Eth events generate a free account to query ethereum
blockchain with Postgres PGAdmin4. The benefits
provided by eth events using ethereum SQL are:
fetching the data quickly in real-time with the
recent blocks mined.
provides better flexibility with regards to
searching the queries.
Provides a virtualization layer.
The process to load the data from the ethereum blockchain to
the local database which is SQL or NoSQL is like
transferring blockchain content which is on-line transaction
processing (OLTP) to on-line analytical processing (OLAP)
that provide feasibility to read the data from a local database.
ii) Eth Events using Elastic Search: Elastic search provides
high-speed data access for both simple and complex queries
stored in ethereum. Elasticsearch supports Domain-specific
Language to query ethereum blockchain-based on JSON.
Helpful Hints
IV. QUERYING ETHEREUM PROVENANCE DATA
Figure 3: Transaction Details
4. International Journal of Research in Advent Technology, Vol.7, No.8, August 2019
E-ISSN: 2321-9637
Available online at www.ijrat.org
8
doi: 10.32622/ijrat. 77201913
When a transaction is mined and confirmed in Ethereum
blockchain network each transaction has a unique
i)transaction hash and an ii) account address that is the from
address which has signed and initiated the transaction iii)
contract address which is executed to commit the transaction
and lastly, iv) each transaction is stored in a block. Here all
the first-class elements like transaction, account address,
contract address and block have unique identifiers that are
used as parameters to query from the Ethereum blockchain.
Consider a simple use case, called LegalProv which collects
data provenance of legal matters during the transfer of
sensitive Documents between an Attorney and a Client
associated with a Matter that is stored in decentralized cloud
IPFS and securely tracks data provenance using Blockchain.
Consider a scenario where an Attorney Alice is sending client
Charles a document with name SeperationAgreement.pdf by
uploading to IPFS with the Matter name as
“Charles_Claire_MutualConsentDivorce” and IPFS
hashkey and Digital Signature.
LegalProv is storing the provenance data for the above said
scenario in blockchain as a transaction which is generated as
shown in figure 3. From the figure 3, input data holds the
provenance data in an encoded form. The decoded input
provenance data is:
[ 'Alice'“uploaded”,
“Document Name:” 'SeparationAgreement.pdf',
“given permission:” 'Edit',
“to:” 'Charles',
“MatterName:”
‟Charles_Claire_MutualConsentDivorce',
“Digital Signature:”
'0x5647fe0c4219cfdfaa53f5319986fe8a80f24278c0d6105
6643e1ee93b6f8c155a0a17440d9e94838fbb42acab32681fb
1fd1821c554b93ccc1dec5ada80e5431b',
“IPFSHasKey”:'QmfFcykG1eJi41RgizDCR4NudAAtYUP1rFgx
5JZ7hifJi9',
”EncSharedKey:”'eJwVj01OhTEIRffSsQNaKC1uwYlb4KfEL/
ElxjyNxrh3cUbCPZfDT7s+22PrHqYDaCIRC3Tfo29zxMUYsLQ9
tPP2cm7PH/Z6+dP5LgZoH5MAUhIesEgHK/sO9bTwKtEzYY+tXb
cCRi4y6wnIdmSpI8w9VYdMU3PqNmFZYcIT8rAm1wGG3JMgcouh
owkyjIxw8V5WfpXW+/183cvoBJgVjjOk66CZTInrCAzV2lT+pl
7BcNs9D8B2qarFqYEutnb2Nf8Fc6Uvo3nqeWTBGsC74qJhTO33
D/rEWFY=',”Document Hash:”
„phsbekhjKOp7Ifo7NMF2At8LkIX5NiIYQbadCh0i72A=]
The above-decoded information is stored in private ethereum
blockchain built dedicatedly for LegalProv.
If a user wants to retrieve the provenance data by giving the
search parameters like his account address and other search
parameters like Document Name, Permission, Matter Name,
Digital Signature and IPFS hashkey which are stored in
blockchain input data of a transaction initially the first-class
elements should be queried.
i) Retrieve ethereum blockchain transactions based
on contract address:
Ethereum network has massive data that has many smart
contracts deployed. Form the entire network of transactions
first query the transactions that are specific to the contract
address used in LegalProv. Web3JS Web3.JS API, [14] a
javascript implementation used to interact between a web
application and ethereum blockchain by using getPastLogs.
web3js.eth.getPastLogs({fromBlock: '0x0', to:
'MaxBlockNumber',address:contractAddress>});
getPastLogs consists of transaction hashes for each
transaction that initiated on this network with a specific
contract address used for LegalProv. The getPastLogs,
sequentially access the records between the specified block
numbers and identifies the transactions with the mentioned
contract address provided as a search parameter.
ii) Retrieve ethereum blockchain transactions
based on transactions hash:
Based on each transaction hash from pastLogs, transaction
details can be retrieved with getTransaction which holds
first-class element identifiers like blockNumber, from the
address which is an address account, to address which is a
contract address and the input field which actually stores the
provenance data as a transaction. This can be achieved using
below web3 command:
web3js.eth.getTransaction(transactionHash)
iii) Retrieve ethereum blockchain transactions based on
transactions hash:
Based on the blockNumber from the getTransaction the block
details can be retrieved from blockchain
web3js.eth.getBlock(blockNumber);
In all the cases of retrieving the first-class data objects, the
search parameters are for Block, Transaction, from or to
address, contract address that is either a hash or an address.
User should always track the transaction hashes to retrieve
provenance data stored in that transaction.
All the first-class data objects are basically to retrieve the
data stored in the blockchain. The input field in the
transaction as in Figure 3 is the encoded information of the
provenance data and should be decoded with ABI decoder
which give the decoded data in key-value pairs of name,
value and type as shown in the example below:
params:
{[{ name: '_consignor', value: 'Alice', type: 'string' },
{name:'_documentName',value:'SeparationAgreement.pdf',
type: 'string' },
{ name: '_permission', value: 'Edit', type: 'string' },
{ name: '_consignee', value: 'Charles', type: 'string' },
{ name: '_matterName', value: 'Charles Family Case', type:
'string' },{name: '_digitalSignature', value:
'0x87fd279effbd2d3eaee2e6cd5031b578629e5b2cfd7d11aae2
7ff273c1ac7f1f7b937b59158137422fdd9783e6f7b41803ad660
5dff9609633fb3c1184f74b1a1b',type:'string'},{name:'_ipfsHas
h',value:'QmQX5J1H7ak8SR85nrUaUgoY7ZLCxQrw8FK6N
hVffyyY3s',type: 'string',}
{name:'_encsharedkey',value:'eJwVj01OhTEIRffSsQNaKC1u
wYlb4KfEL/ElxjyNxrh3cUbCPZfDT7s+22PrHqYDaCIRC3T
fo29zxMUYsLQ9tPP2cm7PH/Z6+dP5LgZoH5MAUhIesEgH
K/sO9bTwKtEzYY+tXbcCRi4y6wnIdmSpI8w9VYdMU3Pq
NmFZYcIT8rAm1wGG3JMgcouhowkyjIxw8V5WfpXW+/18
3cvoBJgVjjOk66CZTInrCAzV2lT+pl7BcNs9D8B2qarFqYEu
tnb2Nf8Fc6Uvo3nqeWTBGsC74qJhTO33D/rEWFY=',type:'st
ring'},{name:'_hashvalue',value:'phsbekhjKOp7Ifo7NMF2At8
LkIX5NiIYQbadCh0i72A', type: 'string' }] }
5. International Journal of Research in Advent Technology, Vol.7, No.8, August 2019
E-ISSN: 2321-9637
Available online at www.ijrat.org
9
doi: 10.32622/ijrat. 77201913
The API endpoint allows users to retrieve the provenance data
from ethereum blockchain using the decoded key-value pairs of
the input data. /api/select/account/provenancedata/:filtertype
that Retrieves exclusive data Provenance records based on the
filter type given document name
When a user provides search parameters like documentName,
permission, matter name, digitalSignature, ipfsHash,
encsharedkey, hashvalue to retrieve records which are signed
by him and the endpoints are specified to the search
parameters that retrieve the records. Lastly, depending on the
parameters provided by the user to retrieve the transaction the
specific key values of the searched parameters will be
retrieved by using the REST API’s web services. Finally, the
records with the contract address used by the application and
account address of the user and provenance data parameters,
the transactions are retrieved from ethereum blockchain.
V. CONCLUSION
Blockchain has been adopted by many organizations and
hence massive amount of data is stored in the blockchain.
Since blockchain is an append-only distributed network
accessing the data is a challenging issue. This paper discusses
various approaches in retrieving the data directly from
blockchain and maintain a local copy of the database either a
SQL or NoSQL database and then retrieve the required data
based on searched parameters. This paper also explains how
REST apis are used to retrieve the data provenance stored as
input data in a transaction. Querying the data directly from
blockchain helps to retain the robust features of distributed
systems and by querying with local databases should surface
the threats involved with centralization.
REFERENCES
[1] Nakamoto, S. (2008). Bitcoin: A Peer-to-Peer Electronic Cash System.
Retrieved from https://bitcoin.org/bitcoin.pdf.
[2] J. Hua, X. Wang, M. Kang, H. Wang and F. Wang, "Blockchain Based
Provenance for Agricultural Products: A Distributed Platform with
Duplicated and Shared Bookkeeping," 2018 IEEE Intelligent Vehicles
Symposium (IV), Changshu, 2018, pp. 97-101.doi:
10.1109/IVS.2018.8500647.
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8500647&
isnumber=8500355
[3] S. Mann, V. Potdar, R. S. Gajavilli and A. Chandan, “Blockchain
Technology for Supply Chain Traceability, Transparency and Data
Provenance”, ICBTA, 2018.
[4] U. Javaid, M.N. Aman and B. Sikdar, “BlockPro: Blockchain based
Data Provenance and Integrity for Secure IoT Environments”,
BlockSys, 2018.
[5] A. Vishwa and F. K. Hussain, "A Blockchain based approach for
multimedia privacy protection and provenance," 2018 IEEE
Symposium Series on Computational Intelligence (SSCI), Bangalore,
India, 2018, pp. 1941-1945.doi: 10.1109/SSCI.2018.8628636
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8628636&
isnumber=8628618
[6] Ramachandran, A., and Kantarcioglu, M., “DataProv: Using
Blockchain and smart contracts for secure data provenance
management”, arXiv:1709.10000v1 [cs.CR], 2017
[7] N. Gouru and N. Vadlamani, “CoPS - Cooperative Provenance System
with ZKP Using Ethereum Blockchain Smart Contracts”, International
Journal of Distributed Systems and Technologies, 2018, pp. 40-53.
[8] https://etherscan.io/
[9] https://ethplorer.io/
[10] https://www.etherchain.org/
[11] F. A. Pratama and K. Mutijarsa, "Query Support for Data Processing
and Analysis on Ethereum Blockchain," 2018 International
Symposium on Electronics and Smart Devices (ISESD), Bandung,
2018, pp. 1-5.doi: 10.1109/ISESD.2018.8605476
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8605476&
isnumber=8605438
[12] M. Muzammal, Q. Qu and B. Nasrulin, “Renovating blockchain with
distributed databases: An open source system”, Future Generation
Computer Systems 90, 2019, pp. 105–117
[13] S. Bragagnolo, H. Rocha, M. Denker and S. Ducasse, "Ethereum
Query Language," 2018 IEEE/ACM 1st International Workshop on
Emerging Trends in Software Engineering for Blockchain (WETSEB),
Gothenburg, Sweden, 2018, pp. 1-8.
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8445051&
isnumber=8445042
[14] Web3.JS API. (n.d.). Retrieved from
https://web3js.readthedocs.io/en/1.0/
[15] https://docs.eth.events/en/latest/
AUTHORS PROFILE
Navya Gouru Navya is a Research Scholar pursuing Ph.D. on
Cloud Security with Blockchain from GITAM (Deemed to be
University), India. Navya possess 8 years of IT experience that
includes 2 years of experience as a Blockchain Developer
writing Smart Contracts and creating DApps. She has
experience in working with giant IT companies like Accenture
from India and SAP from Singapore and also possess
experience in working with startups like ChainNinja as an Ethereum
Blockchain Developer and provides PoC's for both public and private
Ethereum Blockchain that includes Tokenization and Securing Digital
Assets. Navya also has one-year teaching experience for graduates and also a
passionate Sign Language Interpreter in ASL, BSL and SEE.
NagaLakshmi Vadlamani has awarded a Ph.D. in
computer science and currently working as a Professor in
computer science, GITAM Institute of science at GITAM
(Deemed to be University), Visakhapatnam, India. Her
research interests include Cryptography and Network
Security, Database Security and Cloud Computing. She has
20 years of teaching and research experience. She has published more than
20 publications in International and National journals and Proceedings.