-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(website): refactor prover and node running guides and add warning (
- Loading branch information
Showing
4 changed files
with
73 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { Callout, Steps } from "nextra-theme-docs"; | ||
|
||
<Callout> | ||
Only the first prover can get the reward, and others will be rejected by the protocol smart contract. This means the fastest prover will be able to prove the block and earn the reward, **if you have just the minimum hardware outlined in the prerequisited below, it's unlikely you will be able to prove any blocks if there are many other high-performance provers**. | ||
</Callout> | ||
|
||
|
||
## Prerequisites | ||
- Must have some ETH on Sepolia (see [receive tokens](/docs/guides/receive-tokens)). | ||
- Should have at least 8/16 core CPU and 32GB of RAM. (**note: see warning above**) | ||
|
||
|
||
## Steps | ||
|
||
<Steps> | ||
### Set environment variables to enable prover | ||
Set the following environment variables to enable your node as a prover: | ||
- Set `ENABLE_PROVER` to `true` (replacing the default `false` with `true`). | ||
- Set `L1_PROVER_PRIVATE_KEY` to that of your wallet's private key; it will need some balance on Sepolia to prove blocks (if using MetaMask, follow these directions to [retrieve the private key](https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key)). | ||
|
||
### Verify prover logs | ||
Verify you have some prover logs: | ||
- `💰 Your block proof was accepted` means you are the first prover and receive the reward. | ||
- `✅ Valid block proven` just means a proposed block was successfully proved on TaikoL1 (by anyone). | ||
</Steps> | ||
|
||
## Troubleshooting | ||
Consult [Run a node - Troubleshooting](/docs/guides/run-a-node#troubleshooting) for common issues. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters