Gateway Documentation
  • 🎓Documentation
  • Overview
    • 💡What is Presto?
    • ✨How-To Guides
      • How to Create a Rollup
      • How to Deploy a gasless rollup
      • How To Delete A Rollup
      • How To Deploy Mainnet
      • How To Add a Prover
      • Can I Change The Name of My Rollup?
      • How To Use Metamask with Presto
      • How to use a Faucet
      • How to Access the Block Explorer
      • How to Use a Bridge
      • Inactivity Period (for Trial)
    • 💻Features for Developers
      • What Is RPC
      • How To Deploy A Smart Contract
      • How to use HardHat with Presto
      • How To Use Presto with web3.js
      • How To Use Presto with ethers.js
      • How to use Presto with ethers.py
      • How To Use Presto with viem.sh
      • How to use Presto with web3.py
    • 📊Presto UI/Dashboards
      • Presto L2 Dashboard
      • Presto List Of Projects
    • ☎️Where To Get Support
    • 🛟FAQ Presto
    • 🛟FAQ CDK Erigon
    • 🛟CDK Erigon RPC Methods
    • 🛟FAQ Arbitrum
  • 🛟FAQ Optimism (OP)
  • Fundamentals
    • 🛠️Getting set up
Powered by GitBook
On this page
  1. Overview
  2. Features for Developers

What Is RPC

PreviousFeatures for DevelopersNextHow To Deploy A Smart Contract

Last updated 1 year ago

To interact with the Presto L2 blockchain, developers can use JSON-RPC (Remote Procedure Call), a protocol for making remote procedure calls using JSON (JavaScript Object Notation) over HTTP or other transport protocols. JSON-RPC allows developers to send requests to the Presto L2 network and receive responses, enabling them to read data from the blockchain, send transactions, and execute smart contracts.

Blockchain JSON-RPC offers a comprehensive set of methods and APIs that allow developers to seamlessly interact with the Presto L2 blockchain. These methods include querying account balances, retrieving transaction details, deploying smart contracts, and invoking contract functions. By leveraging the power of JSON-RPC, developers can integrate Presto L2 functionality into their applications, enabling efficient and secure interaction with the blockchain.

Developers can take advantage of zkEVM's privacy and scalability features to build privacy-preserving and high-performance applications on the Presto L2 blockchain. zkEVM uses zero-knowledge proofs to ensure the confidentiality of transactions and computations, while still maintaining the decentralized nature of the blockchain.

In summary, Presto L2 and Blockchain JSON-RPC provide a powerful combination for developers to build and deploy smart contracts on a decentralized blockchain. With zkEVM as the underlying virtual machine, developers can create privacy-preserving and scalable applications. Stay tuned for more articles and resources in our knowledge base to explore the potential of Presto L2 and make the most out of Blockchain JSON-RPC!

To interact with Blockchain JSON-RPC, developers can use various libraries and frameworks. Some popular ones include:

  • Web3.js () A JavaScript library that provides a simple and consistent interface for interacting with JSON-RPC based blockchains like Ethereum.

  • ethers.js (): Another JavaScript library that offers a complete set of tools and utilities for interacting with JSON-RPC based blockchains.

  • (): A Python library that allows developers to interact with JSON-RPC based blockchains using Python code.

These libraries provide convenient abstractions and helper functions to simplify the process of sending requests, handling responses, and working with blockchain data. Developers can choose the library that best suits their programming language and requirements to interact with Blockchain JSON-RPC effectively.

💻
How To Use Presto with web3.js
How To Use Presto with ethers.js
web3.py
How to use Presto with web3.py