-
Notifications
You must be signed in to change notification settings - Fork 791
Conversation
…o for the chapter as well as the Http section. Added advanced usage section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely love it - let's keep running at it / clear the TODOs and I feel good w/ merging & iterating
Sounds good, I will update the chapter and address the TODOs so everything can get merged in. |
…ent fields, udpated the advanced usage section to include CallBuilder and raw_call.
I just pushed an update clearing all of the TODOs as well as adding some new examples to the |
@@ -1,5 +1,82 @@ | |||
# IPC provider | |||
The IPC (Inter-Process Communication) transport is a way for a process to communicate with a running Ethereum client over a local Unix domain socket. If you are new to IPC, you can [follow this link to learn more](https://en.wikipedia.org/wiki/Inter-process_communication). Using the IPC transport allows the ethers library to send JSON-RPC requests to the Ethereum client and receive responses, without the need for a network connection or HTTP server. This can be useful for interacting with a local Ethereum node that is running on the same machine. Using Ipc [is faster than RPC](https://github.com/0xKitsune/geth-ipc-rpc-bench), however you will need to have a local node that you can connect to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add a note on Windows IPC (Named pipes), recently added in #1976?
The only API difference is the path: \\<machine_address>\pipe\<pipe_name>
, for a local geth: \\.\pipe\geth
Thanks ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, will add this in shortly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just added a note about IPC on windows in the most recent push, let me know if you think there should be any changes.
I am building out the Providers chapter for the book and I am opening up a draft PR as I continue development. Feel free to add any recommendations for information to add as I continue to build out the chapter further.