or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
Prysm x Geth EIP4844 Interop
Prysm setup
Clone the
eip4844
branch in the Prysm repo and build the binariesGeth setup
Clone the
eip-4844
branch inmdehoog
's geth repo and build the binaryCreate the config files
Create the following config files and remember the location of each config file
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Create a
genesis.json
file and remember path as$PATH_TO_GENESIS
Note that
shanghaiTime
is hardcoded asXXX
andshardingForkTime
is hardcoded asYYY
. They will be repalced later by real fork unix timesCreate a
config.yml
file and remember path as$PATH_TO_CONFIG
Create a
jwtsecret.txt
file and remember path as$PATH_TO_JWTSECRET
Within your geth datadir, you can to include the following keystore file
UTC--2022-08-19T17-38-31.257380510Z--123463a4b065722e99115d6c222f267d9cabb524
. That will enable you to unlock and mine laterInterop time
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Start beacon node
First you will need to CD to your Prysm directory. Set up your genesis time and set up Shanghai hardfork time to 144 seconds later. Please fill in
$PATH_TO_GENESIS
to the location that you created earlier. Then Run the following:Within your Prysm directory. Please fill in
$PATH_TO_DATADIR
. Selection where you want the database to beStart validator
Within your prysm directory, run the following to start the validator:
Start geth
Last but not least, we need to start geth. CD to your Geth directory. You will need to find a location to store Geth data
$PATH_TO_GETH
. Then run the following:How do you know it's working?
Genesis state generated

Chain started (ignore unknown finalized root errors)

Forked to Bellatrix and Merged
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Forked to EIP4844
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Test syncing with a secondary node
To add an additional beacon node to sync on the devnet using a few command with a few tweaks, in a new terminal window, enter:
You should get an output similar to:
Copy paste the part that starts with
/ip4
Then set this as an environment variable:
export PEER=/ip4/10.0.0.74/tcp/13000/p2p/16Uiu2HAmJg9Sfy8bX4wyjZNTi8soJrdPt9E9pPzJSmewN5rLoRM6
Then run your second beacon node with the additional parameters
That's it! Dm me if you have any questions!
.oO