Skip to content

Commit 17ded40

Browse files
committed
Adds complete instructions.
1 parent 0e0a325 commit 17ded40

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
To send your first commitment quickly, you will need to connect to the primev Testnet.
2-
This will allow you to consume bids incoming to the network and do commitments.
1+
To send your first commitment, you will need to connect to the primev Testnet.
2+
This will allow you to consume bids incoming to the network and submit commitments.
3+
Your first step is to set up a provider node. The following command will allow you to automatically set up a full provider mev-commit node:
34

4-
Your first step is to construct a provider node. The following command will allow you to automatically set up a full provider mev-commit node.
55
```
6-
curl -o launchmevcommit https://raw.githubusercontent.com/primevprotocol/scripts/main/launchmevcommit && chmod +x launchmevcommit && ./launchmevcommit --rpc-url https://chainrpc.testnet.mev-commit.xyz --node-type provider
7-
```
6+
curl -o launchmevcommit https://raw.githubusercontent.com/primevprotocol/scripts/main/launchmevcommit && chmod +x launchmevcommit && ./launchmevcommit --rpc-url https://chainrpc.testnet.mev-commit.xyz --node-type provider
7+
```
8+
9+
Now you'll want to run an emulator to simulate the accepting and rejecting of bids. You can read more about the internal builder API [here](http://localhost:3000/api-reference/provider/sendprocessedbids).
10+
11+
To get started with the emulator, open a new termainl and run the following command:
12+
<Warning>You require Go Version 1.21.1 to run the example emulator</Warning>
13+
```
14+
git clone https://github.com/primevprotocol/mev-commit.git && cd mev-commit && git checkout v0.2.0 && cd examples/provideremulator && go run .
15+
```
16+
17+
Now you have a running instance of both an emulator that will auto-accept incoming bids and a provider node that will submit commitments on your behalf.

0 commit comments

Comments
 (0)