-{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Introdution","text":"<p>We continue to contribute public goods to help the Ethereum and Optimism community get better and better.</p>"},{"location":"#our-works","title":"Our Works","text":"<p>We have currently developed two important components of Optimism:</p> <p>Hildr is an optimism rollup client written in Java.</p> <p>Op-Besu is an optimism execution client written in Java, a fork of Besu.</p>"},{"location":"#our-vision","title":"Our Vision","text":"<p>We hope that through our efforts, Ethereum and the Optimism chain will become more accessible and user-friendly, promoting the widespread adoption of blockchain technology.</p>"},{"location":"#contract-us","title":"Contract Us","text":"<p>If you have any questions or suggestions, please feel free to contact us on github. We look forward to working with you to advance blockchain technology!</p>"},{"location":"start_hildr/","title":"Start Hildr","text":"<p>Hildr is an OP Stack rollup client written in Java 21. And follow the spec:</p> <p>Magi</p> <p>Op-node</p>"},{"location":"start_hildr/#run-on-optimism-sepolia","title":"Run on Optimism Sepolia","text":""},{"location":"start_hildr/#prerequisites","title":"Prerequisites","text":"<p>Java JDK 21+</p>"},{"location":"start_hildr/#download-jar","title":"Download jar","text":"<p>Download the Hildr jar.</p>"},{"location":"start_hildr/#run-a-node","title":"Run a node","text":"<pre><code>java --enable-preview \\\n-cp hildr-node.jar io.optimism.Hildr \\\n--network optimism-sepolia \\\n--jwt-secret ./jwt.hex \\\n--l1-rpc-url http://localhost:9545 \\\n--l1-ws-rpc-url ws://localhost:9546 \\\n--l1-beacon-url http://localhost:4000 \\\n--l2-rpc-url http://localhost:8545 \\\n--l2-engine-url http://localhost:8551 \\\n--rpc-port 11545 \\\n--log-level INFO \\ # can be either: \"DEBUG\",\"TRACE\",\"WARN\",\"ERROR\"\n--sync-mode full >l2-hildr-node.log 2>&1 &\n</code></pre>"},{"location":"start_hildr/#run-with-docker-on-optimism-sepolia","title":"Run with docker on Optimism Sepolia","text":""},{"location":"start_hildr/#pull-docker-image","title":"Pull docker image","text":"<pre><code>docker pull ghcr.io/optimism-java/hildr:latest\n</code></pre>"},{"location":"start_hildr/#run-a-node-with-docker","title":"Run a node with docker","text":"<pre><code>docker run -it -p 11545:11545 \\\n-v <you jwt secret>:/jwt/jwtsecret \\\nghcr.io/optimism-java/op-besu:latest -- \\\n--network optimism-sepolia \\ # can be either: \"optimism\",\"base\",\"base-sepolia\"\n--jwt-secret ./jwt.hex \\\n--l1-rpc-url http://localhost:9545 \\\n--l1-ws-rpc-url ws://localhost:9546 \\\n--l1-beacon-url http://localhost:4000 \\\n--l2-rpc-url http://localhost:8545 \\\n--l2-engine-url http://localhost:8551 \\\n--rpc-port 11545 \\\n--log-level INFO \\ # can be either: \"DEBUG\",\"TRACE\",\"WARN\",\"ERROR\"\n--sync-mode full\n</code></pre>"},{"location":"start_hildr/#run-on-other-network","title":"Run on other network","text":"<p>If you want to run on the anyother network, you need to prepare the configuration file rollup.json, then add a devnet option, and finally modify the network value to the path of the rollup.json file:</p> <pre><code>--devnet\n--network=<rollup.json file>\n</code></pre>"},{"location":"start_op_besu/","title":"Start Op-Besu","text":"<p>A fork of Besu that supports the execution engine of OP stack. The document will introduce how to start a Op-Besu node using packaged binaries and Docker.</p>"},{"location":"start_op_besu/#run-on-optimism-sepolia","title":"Run on Optimism Sepolia","text":""},{"location":"start_op_besu/#prerequisites","title":"Prerequisites","text":"<p>Java JDK 21+</p>"},{"location":"start_op_besu/#install-from-packaged-binaries","title":"Install from packaged binaries","text":"<p>Download the Op Besu packaged binaires.</p> <p>Unpack the downloaded files and change into the <code>besu-<release></code> directory.</p>"},{"location":"start_op_besu/#run-a-node","title":"Run a node","text":"<pre><code>cd besu-<release> && \\\n./bin/besu \\\n--network=OP_SEPOLIA \\\n--p2p-enabled=false \\\n--discovery-enabled=false \\\n--data-path=<your data dir> \\\n--engine-rpc-enabled \\\n--engine-jwt-secret=<jwt secret file> \\\n--rpc-http-enabled \\\n--host-allowlist=* \\\n--engine-host-allowlist=* \\\n--logging=INFO \\\n--version-compatibility-protection=false\n</code></pre>"},{"location":"start_op_besu/#run-with-docker-on-optimism-sepolia","title":"Run with docker on Optimism Sepolia","text":""},{"location":"start_op_besu/#pull-docker-image","title":"Pull docker image","text":"<pre><code>docker pull docker pull ghcr.io/optimism-java/op-besu:latest\n</code></pre>"},{"location":"start_op_besu/#run-a-node-with-docker","title":"Run a node with docker","text":"<pre><code>docker run -it -p 8545:8545 -p 8551:8551 -v <you jwt secret>:/jwt/jwtsecret \\\nghcr.io/optimism-java/op-besu:latest -- \\\n--network=OP_SEPOLIA \\\n--p2p-enabled=false \\\n--discovery-enabled=false \\\n--data-path=\"/data/\" \\\n--engine-rpc-enabled \\\n--engine-jwt-secret=\"/jwt/jwtsecret\" \\\n--rpc-http-enabled \\\n--host-allowlist=\"*\" \\\n--engine-host-allowlist=\"*\" \\\n--logging=INFO \\\n--version-compatibility-protection=false\n</code></pre> <p>docker run -it -p 8545:8545 -p 8551:8551 -v :/jwt/jwtsecret \\ 4b7ab2b50a39 \\ --network=OP_SEPOLIA \\ --p2p-enabled=false \\ --discovery-enabled=false \\ --engine-rpc-enabled \\ --engine-jwt-secret=\"/jwt/jwtsecret\" \\ --rpc-http-enabled \\ --host-allowlist=\"\" \\ --engine-host-allowlist=\"\" \\ --logging=INFO \\ --version-compatibility-protection=false"},{"location":"start_op_besu/#run-on-other-network","title":"Run on other network","text":"<p>If you want to run on the anyother network, you first need to prepare the genesis.json file, then remove the <code>network</code> parameter from the command line and add it as the <code>genesis-file</code> parameter:</p> <pre><code>--genesis-file=<devnet genesis file>\n</code></pre>"}]}
0 commit comments