Skip to content

Commit

Permalink
Merge pull request #1 from Tenderly/develop
Browse files Browse the repository at this point in the history
Adds Implemented RPC methods segment in readme.
  • Loading branch information
MihailoBjelic authored Aug 17, 2020
2 parents 6b97efa + 813f68f commit aa1d663
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,16 @@ The easiest way to start with Polygon SDK is to "bypass" consensus and networkin
go run main.go dev
```

Use curl command to send transaction ([](https://eth.wiki/json-rpc/API)[https://eth.wiki/json-rpc/API](https://eth.wiki/json-rpc/API) - eth_sendTransaction method). Wait for the transaction to get mined, use eth_blockNumber and eth_getBlockByNumber methods.

In order to better understand each step during the block sealing (sealer.go), we suggest using a debugger.
#### The RPC methods currently implemented are:
* [eth_blockNumber](https://eth.wiki/json-rpc/API)
* [eth_getBlockByNumber](https://eth.wiki/json-rpc/API)
* [eth_sendRawTransaction](https://eth.wiki/json-rpc/API)
* [eth_sendTransaction](https://eth.wiki/json-rpc/API)
* [eth_getTransactionReceipt](https://eth.wiki/json-rpc/API)
* [eth_getBalance](https://eth.wiki/json-rpc/API)
* [eth_getTransactionCount](https://eth.wiki/json-rpc/API)
* [eth_getCode](https://eth.wiki/json-rpc/API)
* [web3_sha](https://eth.wiki/json-rpc/API)

## Pluggable Consensus

Expand Down

0 comments on commit aa1d663

Please sign in to comment.