The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

Utilizing JSON RPC as a Communication Protocol for Blockchain

The picture loads from YouTube. The player loads only when you press Play. Turn on captions in the player if you need them.

Two presenters, Daniel and Michael Ebenezer Olayi, explain what JSON-RPC is and why Ethereum uses it. They describe it as the standard way wallets, apps and clients talk to nodes, and cover node management, interoperability, and its role as a bridge between the blockchain and smart contracts.

Not by We Them Media Channel: Web3Bridge. Published Thursday 14 March 2024.

Titles are the owner’s. It plays from their channel.

Transcript

This transcript may contain errors. This video belongs to Web3Bridge. Letters mark each change of speaker.

These are the speakers’ own words. We have not checked their claims.

0:20 A: Hi guys, welcome back to our YouTube channel. My name is Daniel and I am Crypto Sambo. I

0:26 B: am Michael Ebenezer Olayi and this is

0:28 A: Today we are talking about JSON-RPC and why Ethereum uses it as a means of communication protocol.

0:34 C: So JSON stands for JavaScript Object Notation, while on the other hand RPC stands for Remote Procedure Call. So in the vast landscape of web development and distributed systems, seamless communications is a linchpin that binds components, diverse components together. And on the other hand, JSON-RPC emerges as a beacon in this space, offering lightweight and language-agnostic protocols for, you know, remote procedure calls. It leverages on the simplicity of JSON, which is a format familiar to developers around the world, to facilitate data interchange. So some of the reasons why Ethereum uses JSON-RPC as a medium for communication protocol, one of them being decentralized network, decentralized network of interactions. JSON-RPC is a very crucial role in decentralized networking in blockchain environments. It serves as a medium of communication between clients and nodes, you know, for smart contracts and invocation, you know, transaction proving, and perform various actions.

2:01 B: JSON-RPC is Ethereum's primary and standard communication protocol. It is encoded in JSON. It is very flexible, and then It's widely adopted for remote procedural calls. And so it's like, uh, the Ethereum nodes that are up there maintaining the Ethereum network, before you can actually interact with them, you need to interact with them through JSON-RPC. It's like saying, uh, if you want to talk to me, you have to speak my language. Yeah. And so for every client, I mean, dApps, I mean smart contracts, I mean the wallet, for you to interact with Ethereum network, you have to go through JSON-RPC. And then, so how does it work? So these nodes, what they do, they expose this JSON-RPC interface for clients to call to interact with the the network. And so he spoke about one of the ways that it's being used. So imagine that you are on your wallet and then you want to make a transaction, you want to do something. All of the things that you do that have to go to the network, you have to do them through JSON-RPC. You want to query, you want to like- when you want to even get your balance You send that, yeah, and then you get, you get the- all of this communication is being done using JSON-RPC.

3:40 A: One of the essence of using RPC in Ethereum is for node management. So I mean, RPC allows clients to manage Ethereum nodes remotely. I mean, I mean, this means that, um, with RPC, clients can know, do administrative functions, can perform administrative functions. For instance, client can send commands to start or stop mining. Also, RPC is essential for interoperability. So what is interoperability? Interoperability is the ability for blockchains to- I mean, different blockchains to communicate together. How does RPC come into this? So RPC provides this interface for different clients, I mean different applications to interoperate with themselves on the Ethereum network, you see. Also, rather in general, I see JSON-RPC as a bridge between blockchain and smart contracts, as a bridge between blockchain and decentralized apps. Yes, I mean this is like the blockchain is a separate entity The smart contracts are different entities on their own, so JSON-RPC provides this bridge between the two. We thank you for joining us today. We hope you have learned something from our content today. Please join us next week.

5:05 B: Yeah, you can also like and subscribe to our YouTube channel.

5:08 A: Thank you very much.

More from this hub

Something wrong, or a video you want off this page? Write to wethem.xyz@gmail.com and it is fixed or taken down within 48 hours.