Skip to content

0.0.24-polymer-2

Latest
Compare
Choose a tag to compare
@OBlackmon3 OBlackmon3 released this 27 Oct 16:28

Changelog

Quick start

  1. Create your erpc.yaml configuration file:
touch erpc.yaml
code erpc.yaml
  1. Use the Docker image:
docker run \
  -v $(pwd)/erpc.yaml:/root/erpc.yaml 
  -p 4000:4000 -p 4001:4001 \
  ghcr.io/erpc/erpc:0.0.24-polymer-2
  1. Send your first request:
curl --location 'http://localhost:4000/main/evm/42161' \
--header 'Content-Type: application/json' \
--data '{
    "method": "eth_getBlockByNumber",
    "params": [
        "0x1203319",
        false
    ],
    "id": 9199,
    "jsonrpc": "2.0"
}'