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 in Blockchain by Tharani
• 130 points
148 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 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 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 ariaholic
• 7,340 points
62 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,600 points
65 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
79 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,350 points

edited Aug 7, 2018 by Omkar 129 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,090 points
504 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,090 points
63 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,350 points
185 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,240 points
83 views
0 votes
1 answer