Skip to content

Commit 6d91044

Browse files
authored
feat: enable ws on native reth (#187)
* feat: enabling ws on node * Update .gitignore
1 parent ab5a71b commit 6d91044

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
local-testnet
2-
output
2+
output
3+
builder-playground

playground/components.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ func (r *RethEL) Run(svc *Service, ctx *ExContext) {
361361
"--http.addr", "0.0.0.0",
362362
"--http.api", "admin,eth,web3,net,rpc,mev,flashbots",
363363
"--http.port", `{{Port "http" 8545}}`,
364+
// websocket config
365+
"--ws",
366+
"--ws.addr", "0.0.0.0",
367+
"--ws.port", `{{Port "ws" 8546}}`,
368+
"--ws.api", "eth,web3,net,txpool,debug,trace",
369+
"--ws.origins", "*",
364370
"--authrpc.port", `{{Port "authrpc" 8551}}`,
365371
"--authrpc.addr", "0.0.0.0",
366372
"--authrpc.jwtsecret", "/data/jwtsecret",

0 commit comments

Comments
 (0)