Skip to content

ququzone/verifying-paymaster-service

 
 

Repository files navigation

Service for VerifyingPaymaster

RPC

curl -X POST http://localhost:8888/rpc/1234567890 -H "Content-Type:application/json" --data '{
    "jsonrpc":"2.0",
                "method":"pm_sponsorUserOperation",
                "params":[],
    "id":1
}'

curl -X POST http://localhost:8888/rpc/1234567890 -H "Content-Type:application/json" --data '{
    "jsonrpc":"2.0",
                "method":"pm_gasRemain",
                "params":["0x816117a3E3A909947e9835d3904A2991696F1FD2"],
    "id":1
}'

curl -X POST http://localhost:8888/rpc/1234567890 -H "Content-Type:application/json" --data '{
    "jsonrpc":"2.0",
                "method":"pm_requestGas",
                "params":["0x816117a3E3A909947e9835d3904A2991696F1FD2"],
    "id":1
}'

curl -X POST http://localhost:8888/rpc/1234567890 -H "Content-Type:application/json" --data '{
    "jsonrpc":"2.0",
                "method":"pm_requestGas",
                "params":["0xeb0fAC424e85090e8e3fF82ebC51B95903760ecb"],
    "id":1
}'

Docker

docker build -t paymaster:latest .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.2%
  • Dockerfile 0.8%