Skip to content

Commit

Permalink
docs(edits): Update solana-avs-mainnet.md (#4498)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciejo authored Jun 17, 2024
2 parents 10af4a6 + 0611cbc commit 2c39f61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/develop/solana-avs-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ If you have previously installed the binary, use the `--force` flag.
2. Check if the validator CLI is installed using the following command. The current version should be returned as a value indicating successful installation.
```
validator --version
> 0.0.5
> 0.0.6
```

3. Set up the rpc url with your validator keypair using the command below (note that the program ID is already added). Use a custom
rpc since the Solana public rpc is not good enough to send transactions and will usually be dropped frequently. Keypair path is the path to your keypair json file. [For Example](https://github.com/ComposableFi/emulated-light-client/blob/2313bbd4c1f838ce36b894e781ede5eb63b7c698/solana/solana-ibc/keypair.json)

Expand All @@ -61,8 +62,9 @@ The token address can be any one of the whitelisted tokens under the restaking l
- mSOL: `mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So`

```
Validator stake -a 25000000000 -t <token-address> --rpc-url <RPC_URL> --ws-url <WS_URL> --program-id <PROGRAM_ID> --keypair-path <KEYPAIR_PATH> -—priority-fees 10000
Validator stake -a 25000000000 -t <token-address> --rpc-url <RPC_URL> --ws-url <WS_URL> --program-id <PROGRAM_ID> --keypair-path <KEYPAIR_PATH> -—priority-fees <insert priority fees>
```
For priority fees, 10000 is the suggested amount.

5. Once the config file is set, run the validator:

Expand Down

0 comments on commit 2c39f61

Please sign in to comment.