You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/yield/registration.md
+36-36Lines changed: 36 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,18 +38,18 @@ Run the command where you [installed the Coral-CLI](/yield/setup#setup-coral-cli
38
38
39
39
The following **example** command will create a local validator keystore file in the `./etc/keys/bls_keys` directory. The keystore is encrypted using the password contained in `password.txt`. The command will create a registration payload called `registration.json`.
4. The batch registration script requires a local Eth keystore file to run. You can create a keystore file by importing an existing private key as follows:
120
-
> ```text
120
+
> ```
121
121
> cast wallet import -i puffer-test
122
122
> Enter private key:
123
123
> Enter password:
124
124
> `puffer-test` keystore was saved successfully. Address: 0x4D42ABfB6D4bEDaf64dF8BE054676149BDfa224d
125
-
> ```text
125
+
> ```
126
126
This command created a keystore file named `puffer-test` in the `ls ~/.foundry/keystores` directory. More instructions on working with Foundry keystores can be found [in their docs](https://book.getfoundry.sh/reference/cast/cast-wallet-import#directory-options).
127
127
128
128
5. Fund the wallet with sufficient VTs, pufETH, and ETH to cover gas. These can be purchased as [described above](./registration.md#step-3-mint-pufeth-or-vts).
129
129
130
130
6. Inside the PufferPool repo, install the batch registration script dependencies:
131
131
132
-
> ```text
132
+
> ```
133
133
> forge install
134
-
> ```text
134
+
> ```
135
135
7. Edit the `validator-keystore-password.txt` file. This will be the password used to encrypt your validator BLS keystore files.
136
136
137
137
8. Create the `registration-data` directory for your output registration JSONs
138
138
139
-
> ```text
139
+
> ```
140
140
> mkdir -p registration-data
141
-
> ```text
141
+
> ```
142
142
9. Simulate the batch registration script:
143
143
> - Replace with your RPC URL (either for mainnet or holesky)
144
144
> - Set the keystore `--account` to the name of your keystore located in `~/.foundry/keystores` (from step 4)
@@ -147,24 +147,24 @@ This command created a keystore file named `puffer-test` in the `ls ~/.foundry/k
10. Rerun the command with the `--slow` and `--broadcast` flags to send the transaction on chain. Note that the command may take several minutes to run.
11. Your validator keys will be generated locally in the folder: `PufferPool/etc/keys/bls_keys/` and can be added to your validator client as described [here](./registration#step-6-prepare-your-validator).
169
169
170
170
## Batch Registering Validators Using Gnosis SAFE
@@ -175,37 +175,37 @@ A similar flow exists for operators that use [SAFE](https://app.safe.global). Th
"ticketsConsumed": "string", // Total VTs consumed
92
92
"showWarning": true// Whether low VT balance warning should be shown
93
93
}
94
-
```text
94
+
```
95
95
This API provides real-time information about your VT status and validator health. Since the VT consumption is calculated per epoch the response is updated every epoch.
0 commit comments