Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(website): add private key warning #14240

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ Open the `.env` file in the `simple-taiko-node` directory.

### Set environment variables to enable a proposer

<Callout type="warning">
Do **not** use a private key that is valuable to you. The private key will be
stored in plain text in the `.env` file, and this is not secure. There is a
real risk of losing your assets. You should **only use a test account**.
</Callout>

Set the following environment variables to enable your node as a proposer:

- Set `ENABLE_PROPOSER` to `true` (replacing the default `false` with `true`).
Expand Down
12 changes: 10 additions & 2 deletions packages/website/pages/docs/guides/run-a-node/enable-a-prover.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { Callout, Steps } from "nextra-theme-docs";

<Callout type="warning">
Keep in mind that running a prover is a very competitive space, and those who generate proofs will have very powerful machines and optimized clients.
It's unlikely to prove a block and gain rewards with the default client and minimum hardware requirements.
Keep in mind that running a prover is a very competitive space, and those who
generate proofs will have very powerful machines and optimized clients. It's
unlikely to prove a block and gain rewards with the default client and minimum
hardware requirements.
</Callout>

# Enable a prover
Expand All @@ -23,6 +25,12 @@ Open the `.env` file in the `simple-taiko-node` directory.

### Set environment variables to enable prover

<Callout type="warning">
Do **not** use a private key that is valuable to you. The private key will be
stored in plain text in the `.env` file, and this is not secure. There is a
real risk of losing your assets. You should **only use a test account**.
</Callout>

Set the following environment variables to enable your node as a prover:

- Set `ENABLE_PROVER` to `true` (replacing the default `false` with `true`).
Expand Down