Skip to content

Commit

Permalink
bring building_from_source back to readme for local build ref
Browse files Browse the repository at this point in the history
  • Loading branch information
colmazia committed Sep 20, 2023
1 parent 7ca7281 commit 9941598
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,45 @@ Band's flexible oracle design allows developers to **query any data** including

Please refer to [this documentation](https://docs.bandchain.org/node-validators/run-node/joining-mainnet/installation) for the most up-to-date installation guide.

## Building from source

We recommend the following for running a BandChain Validator:

- **2 or more** CPU cores
- **8 GB** of RAM (16 GB in case on participate in mainnet upgrade)
- At least **100GB** of disk storage

**Step 1. Install Golang**

Go v1.18+ or higher is required for BandChain.

If you haven't already, install Golang by following the [official docs](https://golang.org/doc/install). Make sure that your GOPATH and GOBIN environment variables are properly set up.

**Step 2. Get BandChain source code**

Use `git` to retrieve BandChain from the [official repo](https://github.com/bandprotocol/chain), and checkout the master branch, which contains the latest stable release. That should install the `bandd` binary.

```bash
git clone https://github.com/bandprotocol/chain
cd chain && git checkout v2.3.0
make install
```

**Step 3. Verify your installation**

Using `bandd version` command to verify that your `bandd` has been build successfully.

```
name: bandchain
server_name: bandd
version: 2.5.4
commit: e6548bbf4793829bb8e711e5ed89ba4afc710ded
build_tags: netgo,ledger
go: go version go1.19.1 darwin/amd64
build_deps:
...
```

## Resources

- Developer
Expand Down

0 comments on commit 9941598

Please sign in to comment.