Skip to content

Commit

Permalink
chore: up
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom authored Jun 2, 2024
1 parent 862f645 commit e9e7d84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
HTTP & WebSocket Proxy Pools.

```ts
import { defineProol } from 'prool'
import { defineProxyPool } from 'prool'
import { alto, anvil } from 'prool/instances'

const executionPool = defineProol({
const executionPool = defineProxyPool({
instance: anvil({
// ...
forkRpcUrl: 'https://cloudflare-eth.com'
Expand All @@ -21,7 +21,7 @@ await executionPool.start()
// "http://localhost:8545/3"
// "http://localhost:8545/n"

const bundlerPool = defineProol({
const bundlerPool = defineProxyPool({
instance: ({ id }) => alto({
// ...
executionRpcUrl: `${executionPool.hostname}/${id}`
Expand Down

0 comments on commit e9e7d84

Please sign in to comment.