@@ -38,7 +38,7 @@ Prool is a library that provides programmatic HTTP testing instances for Ethereu
38
38
39
39
Prool contains a set of pre-configured instances that can be used to simulate Ethereum server environments, being:
40
40
41
- - ** Local Execution Nodes:** [ ` anvil ` ] ( #anvil-execution-node )
41
+ - ** Local Execution Nodes:** [ ` anvil ` ] ( #anvil-execution-node ) , [ ` supersim ` ] ( #supersim-op-execution-nodes )
42
42
- ** Bundler Nodes:** [ ` alto ` ] ( #alto-bundler-node ) , [ ` rundler ` ] ( #rundler-bundler-node ) , [ ` silius ` ] ( #silius-bundler-node ) , [ ` stackup ` ] ( #stackup-bundler-node )
43
43
- ** Indexer Nodes:** ` ponder ` ⚠️
44
44
@@ -51,6 +51,7 @@ You can also create your own custom instances by using the [`defineInstance` fun
51
51
- [ Install] ( #install )
52
52
- [ Getting Started] ( #getting-started )
53
53
- [ Anvil (Execution Node)] ( #anvil-execution-node )
54
+ - [ Supersim (OP Execution Nodes)] ( #supersim-op-execution-nodes )
54
55
- [ Alto (Bundler Node)] ( #alto-bundler-node )
55
56
- [ Rundler (Bundler Node)] ( #rundler-bundler-node )
56
57
- [ Silius (Bundler Node)] ( #silius-bundler-node )
@@ -106,6 +107,36 @@ await server.start()
106
107
107
108
See [ ` AnvilParameters ` ] ( https://github.com/wevm/prool/blob/801ede06ded8b2cb2d59c95294aae795e548897c/src/instances/anvil.ts#L5 ) .
108
109
110
+ ### Supersim (OP Execution Nodes)
111
+
112
+ #### Requirements
113
+
114
+ - [ Foundry] ( https://getfoundry.sh/ ) binary installed
115
+ - Download: ` curl -L https://foundry.paradigm.xyz | bash `
116
+ - [ Supersim] ( https://github.com/ethereum-optimism/supersim?tab=readme-ov-file#2-install-supersim ) binary installed
117
+
118
+ #### Usage
119
+
120
+ ``` ts
121
+ import { createServer } from ' prool'
122
+ import { supersim } from ' prool/instances'
123
+
124
+ const server = createServer ({
125
+ instance: supersim (),
126
+ })
127
+
128
+ await server .start ()
129
+ // Instances accessible at:
130
+ // "http://localhost:8545/1"
131
+ // "http://localhost:8545/2"
132
+ // "http://localhost:8545/3"
133
+ // "http://localhost:8545/n"
134
+ ```
135
+
136
+ #### Parameters
137
+
138
+ See [ ` SupersimParameters ` ] ( https://github.com/wevm/prool/blob/ae34711701d3f4316a5e85442ae618a6506f55e1/src/instances/supersim.ts#L5 ) .
139
+
109
140
### Alto (Bundler Node)
110
141
111
142
#### Requirements
0 commit comments