Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,21 @@ Grin is the very first, simple and fair MimbleWimble blockchain implementation.

## Prerequisites

- OS packages:
+ `sudo apt update`
+ `sudo apt install rustup build-essential pkg-config libssl-dev tor`
- Rust: https://www.rust-lang.org/tools/install.
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- SQLite: `sudo apt install sqlite3 libsqlite3-dev`
- Grin node: https://github.com/mimblewimble/grin. You need to enable archival mode, so the explorer can see all the blocks, otherwise only the recent blocks can be explored.

+ mkdir grin/main
+ cd grin/main
+ wget "URL grin tar gz"
+ tar -xvf grin-node...gz
+ ./grin server config
+ Edit grin-server.toml => archive_mode = true
+ tmux
+ ./grin

## Installation

Expand All @@ -23,6 +34,7 @@ Grin is the very first, simple and fair MimbleWimble blockchain implementation.
cd grin-explorer
cargo build --release
```
Edit Explorer.toml => grin_dir = "~/grin" (remove the dot)
4. Run executable: `RUST_LOG=rocket=warn,grin_explorer ./target/release/grin-explorer`

You will see the following output:
Expand All @@ -35,3 +47,6 @@ Grin is the very first, simple and fair MimbleWimble blockchain implementation.
```

5. Open explorer in your browser: http://127.0.0.1:8000

6. Publish to the internet:
The process is quite long, so try to use chatgpt or grok with the prompt: "i setup the grin explorer by github https://github.com/aglkm/grin-explorer good now, now i want to publish from http://127.0.0.1:8000 to my own subdomain https://grinexample.com with nginx and auto ssl certification renewal as well, show me how'