ethp2p icon indicating copy to clipboard operation
ethp2p copied to clipboard

examples: add Status encoding and decoding example

Open Rjected opened this issue 3 years ago • 0 comments

Since there are currently no examples, I'm adding some to the README and the examples/ directory.

TODO:

  • [ ] Add example for GetPooledTransactions
  • [ ] Add example for PooledTransactions
  • [ ] Add example for NewPooledTransactionHashes
  • [ ] Add example for Transactions
  • [ ] Add example for EthMessage
    • This should illustrate how to wrap and encode a message, as well as decode an arbitrary string into a EthMessage
  • [ ] Add a few examples to the README

This should fix #13

Rjected avatar Aug 31 '22 22:08 Rjected