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 in Blockchain by slayer
• 29,050 points
20 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 by Omkar
• 67,200 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
• 27,620 points
142 views
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 16, 2018 in Blockchain by Johnathon
• 9,070 points
61 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
107 views
0 votes
1 answer
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 in Blockchain by Omkar
• 67,200 points
44 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
• 67,200 points
132 views