Skip to content

Is it possible to setup a websockets server with anvil? #7522

Closed Answered by zerosnacks
Confucian-e asked this question in Help
Discussion options

You must be logged in to vote

Yes, the websocket connection is available on ws://127.0.0.1:8545 when starting Anvil

You 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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zerosnacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants