mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-16 13:09:33 +00:00
Merge pull request #376 from logos-blockchain/moudyellaz-explorer
Revise README for sequencer and node setup
This commit is contained in:
commit
0b66903cb9
31
README.md
31
README.md
@ -69,6 +69,7 @@ Both public and private executions use the same Risc0 VM bytecode. Public transa
|
|||||||
|
|
||||||
This design keeps public transactions as fast as any RISC-V–based VM and makes private transactions efficient for validators. It also supports parallel execution similar to Solana, improving throughput. The main computational cost for privacy-preserving transactions is on the user side, where ZK proofs are generated.
|
This design keeps public transactions as fast as any RISC-V–based VM and makes private transactions efficient for validators. It also supports parallel execution similar to Solana, improving throughput. The main computational cost for privacy-preserving transactions is on the user side, where ZK proofs are generated.
|
||||||
|
|
||||||
|
---
|
||||||
---
|
---
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -130,29 +131,31 @@ RUST_LOG=info RISC0_DEV_MODE=1 cargo run $(pwd)/configs/debug all
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Run the sequencer and node
|
# Run the sequencer and node
|
||||||
|
|
||||||
|
|
||||||
## Running Manually
|
## Running Manually
|
||||||
### Normal mode
|
### Normal mode
|
||||||
The sequencer and logos blockchain node can be run locally:
|
The sequencer and logos blockchain node can be run locally:
|
||||||
1. On one terminal go to the `logos-blockchain/logos-blockchain` repo and run a local logos blockchain node:
|
1. On one terminal go to the `logos-blockchain/logos-blockchain` repo and run a local logos blockchain node:
|
||||||
- `git checkout master; git pull`
|
- `git checkout master; git pull`
|
||||||
- `cargo clean`
|
- `cargo clean`
|
||||||
- `rm -r ~/.logos-blockchain-circuits`
|
- `rm -r ~/.logos-blockchain-circuits`
|
||||||
- `./scripts/setup-logos-blockchain-circuits.sh`
|
- `./scripts/setup-logos-blockchain-circuits.sh`
|
||||||
- `cargo build --all-features`
|
- `cargo build --all-features`
|
||||||
- `./target/debug/logos-blockchain-node --deployment nodes/node/standalone-deployment-config.yaml nodes/node/standalone-node-config.yaml`
|
- `./target/debug/logos-blockchain-node --deployment nodes/node/standalone-deployment-config.yaml nodes/node/standalone-node-config.yaml`
|
||||||
|
|
||||||
2. Alternatively (WARNING: This node is outdated) go to ``logos-blockchain/lssa/` repo and run the node from docker:
|
- Alternatively (WARNING: This node is outdated) go to `logos-blockchain/lssa/` repo and run the node from docker:
|
||||||
- `cd bedrock`
|
- `cd bedrock`
|
||||||
- Change line 14 of `docker-compose.yml` from `"0:18080/tcp"` into `"8080:18080/tcp"`
|
- Change line 14 of `docker-compose.yml` from `"0:18080/tcp"` into `"8080:18080/tcp"`
|
||||||
- `docker compose up`
|
- `docker compose up`
|
||||||
|
|
||||||
3. On another terminal go to the `logos-blockchain/lssa` repo and run indexer service:
|
2. On another terminal go to the `logos-blockchain/lssa` repo and run indexer service:
|
||||||
- `RUST_LOG=info cargo run -p indexer_service indexer/service/configs/indexer_config.json`
|
- `RUST_LOG=info cargo run -p indexer_service indexer/service/configs/indexer_config.json`
|
||||||
|
|
||||||
4. On another terminal go to the `logos-blockchain/lssa` repo and run the sequencer:
|
3. On another terminal go to the `logos-blockchain/lssa` repo and run the sequencer:
|
||||||
- `RUST_LOG=info cargo run -p sequencer_runner sequencer_runner/configs/debug`
|
- `RUST_LOG=info cargo run -p sequencer_runner sequencer_runner/configs/debug`
|
||||||
|
4. (To run the explorer): on another terminal go to `logos-blockchain/lssa/explorer_service` and run the following:
|
||||||
|
- `cargo install cargo-leptos`
|
||||||
|
- `cargo leptos build --release`
|
||||||
|
- `cargo leptos serve --release`
|
||||||
|
|
||||||
### Notes on cleanup
|
### Notes on cleanup
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user