Is it possible to setup a websockets server with anvil? #7522
-
Is it possible to setup a websockets server with anvil? |
Beta Was this translation helpful? Give feedback.
Answered by
zerosnacks
Oct 4, 2024
Replies: 1 comment
-
Yes, the websocket connection is available on You can use Alloy's |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zerosnacks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the websocket connection is available on
ws://127.0.0.1:8545
when starting AnvilYou can use Alloy's
anvil-node-bindings
if you are using Rust: https://github.com/alloy-rs/alloy/blob/main/crates/node-bindings/src/nodes/anvil.rs