Skip to content

Commit

Permalink
feat(website): add private key warning (#14240)
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysuzx authored Jul 21, 2023
1 parent 2b9909e commit 485906b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
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

0 comments on commit 485906b

Please sign in to comment.