Skip to content

Amit0617/ethRPCtoREST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethRPCtoREST - RESTful interface for execution layer JSON-RPC APIs

Basically, ethereum nodes have now simpler and intutive requests with human readable responses.

Still clueless? Explainer for where does it fits the equation - https://amit0617.hashnode.dev/web2-to-web3-in-one-shot and slides no. 8 and 9 of the ppt

API SPEC [Work in progress, lagging a bit]

openapi.yaml consists of OPEN API specification for the REST API.

How to use it?

  1. Download ethRPCtoREST binary, make it executable using chmod +x ./ethRPCtoREST.
  2. Execute it ./ethRPCtoREST $RPC_URL.
  3. And you are done! Open localhost:3000 and visit URL endpoints as mentioned in API SPEC which is available at localhost:3000/docs endpoint.

Usage guides

  1. Interact with smart contract functions
  2. Read storage of smart contracts

How to start contributing?

CONTRIBUTING.md

This Project was part of Ethereum Protocol Fellowship cohort 4 and proposal can be found there.