Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
1347c23f
Commit
1347c23f
authored
Jul 13, 2023
by
Ori Pomerantz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(docs/op-stack): Fix getting started
Closing: DEVRL-1058
parent
9a87bd30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
31 deletions
+26
-31
getting-started.md
docs/op-stack/src/docs/build/getting-started.md
+26
-31
No files found.
docs/op-stack/src/docs/build/getting-started.md
View file @
1347c23f
...
...
@@ -278,7 +278,7 @@ We’ve set up the L1 side of things, but now we need to set up the L2 side of t
You should then see the `genesis.json` and `rollup.json` files inside the `op-node` package.
1.
Next, generate the
`jwt.txt`
file with the following command:
1.
Next, generate the
`jwt.txt`
file with the following command:
```bash
openssl rand -hex 32 > jwt.txt
...
...
@@ -307,20 +307,20 @@ We’re almost ready to run our chain! Now we just need to run a few commands to
mkdir datadir
```
1.
Put a password file into the data directory folder:
//
1. Put a password file into the data directory folder:
```bash
echo "pwd" > datadir/password
```
1.
Put the
`Sequencer`
private key into the data directory folder (don’t include a “0x” prefix):
//
1. Put the
`Sequencer`
private key into the data directory folder (don’t include a “0x” prefix):
```bash
echo "<SEQUENCER KEY HERE>" > datadir/block-signer-key
```
1.
Import the key into
`op-geth`
:
//
1. Import the key into
`op-geth`
:
```bash
./build/bin/geth account import --datadir=datadir --password=datadir/password datadir/block-signer-key
...
...
@@ -381,12 +381,7 @@ cd ~/op-geth
--authrpc
.addr
=
0.0.0.0
\
--authrpc
.port
=
8551
\
--authrpc
.jwtsecret
=
./jwt.txt
\
--rollup
.disabletxpoolgossip
=
true
\
--password
=
./datadir/password
\
--allow-insecure-unlock
\
--mine
\
--miner
.etherbase
=
$SEQ_ADDR
\
--unlock
=
$SEQ_ADDR
--rollup
.disabletxpoolgossip
=
true
```
And
`op-geth`
should be running! You should see some output, but you won’t see any blocks being created yet because
`op-geth`
is driven by the
`op-node`
. We’ll need to get that running next.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment