# Quick Start

## Prerequisite

You need to have Go version 1.18 installed and at least an Ubuntu 22 server.

### **Install Go** <a href="#install-go" id="install-go"></a>

```bash
get -q -O - https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash -s -- --version 1.18
source ~/.profile
```

To verify that you have the right Go version, type in&#x20;

```
go version
```

It will return *go version go1.18 linux/amd64*

You can also install from <https://golang.org/doc/install>

### Install Make to compile the code

```
sudo apt install make
```

### Install GCC in case GCC is not yet installed

```
sudo apt-get install gcc
```

### Get the source code <a href="#install-binaries" id="install-binaries"></a>

```
git clone https://github.com/BlockXLabs/networks

git cd chains/blockx_100-1/source
```

### Compile blockxd <a href="#install-binaries" id="install-binaries"></a>

```
make install
```

### Run a Node <a href="#install-binaries" id="install-binaries"></a>

```
chmod +x run_node.sh
./run_node.sh
```

Please change the some of the values to your liking. You can also edit the script if you want to change the directories.

To verify that your node is running you can use the command&#x20;

```
./blockxd status
```

### Become a Validator

Once you have the blockxd running, from the same repo run the **validator.sh** script\
<https://github.com/BlockXLabs/networks/blob/master/chains/blockx_100-1/source/validator.sh>

Don't forget to change some values like the moniker, key, amount and the others. Then you can check <https://ping.blockxnet.com> to see if you've just become a validator.
