how to fetch data from excel (which has some 100 data)or csv file and use that bulk data in smart contract and validate

+1 vote
Oct 20, 2019 in Blockchain by Tharani
• 130 points
280 views

2 answers to this question.

+1 vote

You can use the Oracle functionality for this. Oracle is a new feature that allows you to connect your Blockchain to the outside world. Refer to this.

answered Oct 30, 2019 by Sharma
+1 vote

You can not directly import an excel/csv file in your smart contracts but you have a few workarounds:

Convert the data in the csv file into JSON file and use the JSON format in Smart Contracts. (Refer: https://www.blockchain.com/de/api/blockchain_api)

Process the data in the csv file using client-side script like Javascript and then send this processed data to smart contract.
Use Oraclize

answered Oct 30, 2019 by Tina

Related Questions In Blockchain

0 votes
1 answer

How to prevent the smart contract from being modified and deployed in the blockchain network?

To expand on Matthew's answer, each state ...READ MORE

answered Jul 5, 2018 in Blockchain by aryya
• 7,380 points
114 views
0 votes
1 answer

How to use real world/live data in my smart contract?

You cant access/embed real world data using ...READ MORE

answered Jul 12, 2018 in Blockchain by digger
• 26,670 points
125 views
0 votes
2 answers

how save data from different account using web3.py to smart contract

Hey, @Amal, It will automatically take the address ...READ MORE

answered Jul 27 in Blockchain by Rajiv
• 2,580 points
125 views
+1 vote
2 answers

Can I include real world data in a smart contract? If so, how?

You cant access/embed real world data using ...READ MORE

answered Jul 17, 2018 in Blockchain by sapan
179 views
+1 vote
1 answer

How is it possible to achieve privacy and confidentiality in smart contracts??

Any contract code written on the blockchain ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,380 points

edited Aug 7, 2018 by Omkar 208 views
0 votes
1 answer

How do I send back ethers to the sender of the tokens in a smart contract?

Whenever a smart contract receives ether via ...READ MORE

answered May 30, 2018 in Blockchain by Perry
• 17,100 points
1,070 views
0 votes
1 answer

How is a request sent from an app to a smart contract?

Yes, the contract is distributed by every node ...READ MORE

answered Jun 4, 2018 in Blockchain by Perry
• 17,100 points
117 views
0 votes
1 answer

How to create tokens in smart contracts from node.js?

Any modification to the Ethereum Blockchain will ...READ MORE

answered Jun 26, 2018 in Blockchain by Shashank
• 10,380 points
366 views
0 votes
1 answer

How to store photos in Hyperledger smart contract?

To do this, you need to represent ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,300 points
143 views