Skip to content

Commit ae4ae84

Browse files
authored
Merge pull request #12 from primevprotocol/nitpicks.0
Minor nitpicks
2 parents 51012a1 + 4f70360 commit ae4ae84

4 files changed

Lines changed: 20 additions & 12 deletions

File tree

get-started/bidders/fund-node.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Bidders can withdraw this balance at any point by interacting with the settlemen
2525
"/ip4/127.0.0.1/tcp/13522",
2626
"/ip4/172.29.0.4/tcp/13522"
2727
],
28-
**"Ethereum Address": "0xB9286CB4782E43A202BfD426AbB72c8cb34f886c"**,
28+
"Ethereum Address": "0xB9286CB4782E43A202BfD426AbB72c8cb34f886c",
2929
"Peer Type": "bidder",
3030
"Underlay": "16Uiu2HAmDWZb4DxZQkS9yseXNukBFe6MhZdimSKuZcHFeJrF3jC9"
3131
},
@@ -43,9 +43,9 @@ Bidders can withdraw this balance at any point by interacting with the settlemen
4343
- Add funds to the account. Currently for the testnet, you can use the Primev account to get some testnet ETH. This can be done using the cast command:
4444

4545
```bash
46-
> cast send --rpc-url https://chainrpc.testnet.mev-commit.xyz \\
47-
--private-key 0x7c9bf0f015874594d321c1c01ada3166c3509bbd91f76f9e4d7380c2df269c55 \\
48-
$ADDRESS \\
46+
> cast send --rpc-url https://chainrpc.testnet.mev-commit.xyz \
47+
--private-key 0x7c9bf0f015874594d321c1c01ada3166c3509bbd91f76f9e4d7380c2df269c55 \
48+
$ADDRESS \
4949
--value 100ether
5050
```
5151

get-started/providers/consume-bids-mev-commit.mdx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,22 @@ There are 4 options to communicate with the API
1313

1414
* We recommend using the official go RPC client to communicate with the mev-commit API. In order to use this in go code, you can go get the mev-commit package and then import the generated client.
1515

16+
- For Go developers, leveraging the official Go RPC client is the recommended approach. Start by installing the mev-commit package:
17+
18+
```bash ❯_ terminal
19+
go get github.com/primevprotocol/mev-commit
20+
```
21+
22+
- Then, incorporate the generated client into your Go application as follows:
23+
1624
```go
1725
import providerapiv1 "github.com/primevprotocol/mev-commit/gen/go/rpc/providerapi/v1"
1826

1927
conn, err = grpc.DialContext(
20-
context.Background(),
21-
"localhost:13524",
22-
grpc.WithBlock(),
23-
grpc.WithTransportCredentials(insecure.NewCredentials()),
28+
context.Background(),
29+
"localhost:13524",
30+
grpc.WithBlock(),
31+
grpc.WithTransportCredentials(insecure.NewCredentials()),
2432
)
2533

2634
if err != nil {

get-started/providers/register-a-provider.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ You can use the provider API to check and add stake.
3434
* Add funds to the account. Currently for the testnet, you can use the Primev account to get some testnet ETH. This can be done using the cast command:
3535

3636
```bash
37-
> cast send --rpc-url https://chainrpc.testnet.mev-commit.xyz \\
38-
--private-key 0x7c9bf0f015874594d321c1c01ada3166c3509bbd91f76f9e4d7380c2df269c55 \\
39-
$ADDRESS \\
37+
> cast send --rpc-url https://chainrpc.testnet.mev-commit.xyz \
38+
--private-key 0x7c9bf0f015874594d321c1c01ada3166c3509bbd91f76f9e4d7380c2df269c55 \
39+
$ADDRESS \
4040
--value 100ether
4141
```
4242

get-started/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This will get you going with a mev-commit node as a bidder on the network. To jo
1616
* Ensure you have `curl` installed on your system. `curl` is a command-line tool used to transfer data from or to a server.
1717
* A `terminal` to execute the command. This can be any command-line interface like Command Prompt on Windows, Terminal on macOS, or a Linux shell.
1818

19-
❗You will need to expose port 13523 on your local machine to allow the provider node to establish connections that are incoming to the node.
19+
❗You will need to have a public IP and expose the p2p port 13522 on your local machine to allow the provider node to establish connections that are incoming to the node.
2020

2121
**This command performs several actions automatically:**
2222

0 commit comments

Comments
 (0)