mirror of
https://github.com/sonr-io/sonr.git
synced 2026-09-17 07:26:25 +00:00
docs(docs): add documentation site with Blume config and initial MDX pages
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
---
|
||||
title: "Configuring a Validator Node"
|
||||
description: "Setup a validator node on the Sonar Network in your local environment"
|
||||
icon: "terminal"
|
||||
sidebar:
|
||||
label: "Command Line"
|
||||
---
|
||||
|
||||
**1. Initialize a blockchain node**
|
||||
|
||||
```sh
|
||||
sonrd init localnet
|
||||
```
|
||||
|
||||
**2. Generate account keys**
|
||||
|
||||
```sh
|
||||
sonrd keys add test-validator
|
||||
```
|
||||
|
||||
**3. Add the account to the genesis file**
|
||||
|
||||
```sh
|
||||
sonrd add-genesis-account $(sonrd keys show test-validator -a) 1000000000000000000000000000stake,1000000000000000000000000000snr
|
||||
```
|
||||
|
||||
**4. Generate a genesis transaction**
|
||||
|
||||
```sh
|
||||
sonrd gentx test-validator 1000000000000000000000000000stake --chain-id localnet
|
||||
```
|
||||
|
||||
**5. Collect genesis transactions**
|
||||
|
||||
```sh
|
||||
sonrd collect-gentxs
|
||||
```
|
||||
|
||||
**6. Validate the genesis file**
|
||||
|
||||
```sh
|
||||
sonrd validate-genesis
|
||||
```
|
||||
|
||||
**7. Start the blockchain node**
|
||||
|
||||
```sh
|
||||
sonrd start
|
||||
```
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Local Development Setup
|
||||
description: Complete guide for becoming a Sonr blockchain validator - from setup to operations
|
||||
icon: "code"
|
||||
sidebar:
|
||||
label: Setup Your Environment
|
||||
---
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import { defineMeta } from "blume";
|
||||
|
||||
export default defineMeta({
|
||||
"title": "Get Started",
|
||||
"icon": "rocket",
|
||||
"collapsed": false,
|
||||
"pages": [
|
||||
"development",
|
||||
"configure-local-node"
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user