Why to use libraries over Json-RPC to interact with Blockchain

0 votes
Json-RPC provides methods to interact with the Blockchain from application. Then why is it suggested to use libraries to interact with the Blockchain?
Jan 11, 2019 in Blockchain by slayer
• 29,370 points
760 views

1 answer to this question.

0 votes

Though Json-RPC provides methods to interact with the Blockchain, there are certain rules to be followed to use Json-RPC such as:

  • JSON-RPC protocol implementation
  • Binary format encoding/decoding for creating and interacting with smart contracts
  • 256-bit numeric types
  • Admin command support

This is a headache for developers because it is an extra task for them. The libraries are designed to follow these rules by default and so it's easier to use the libraries

answered Jan 11, 2019 by Omkar
• 69,220 points

Related Questions In Blockchain

0 votes
1 answer

How to interact with blockchain using Java web app?

You can interact with the blockchain using ...READ MORE

answered Jul 16, 2018 in Blockchain by digger
• 26,740 points
1,185 views
0 votes
1 answer
0 votes
1 answer

How do I use hyperledger fabric blockchain to build my own application?

To use fabric I would recommend you ...READ MORE

answered May 17, 2018 in Blockchain by Johnathon
• 9,090 points
1,074 views
0 votes
1 answer
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,922 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,426 views
0 votes
1 answer

How to interact with blockchain from web application?

You can use the Web3.js library to interact ...READ MORE

answered Jan 11, 2019 in Blockchain by Omkar
• 69,220 points
1,408 views
0 votes
1 answer

Using json rpc with curl on java?

Quoting different pieces the way you're doing ...READ MORE

answered Oct 10, 2018 in Blockchain by Omkar
• 69,220 points
2,723 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP