> For the complete documentation index, see [llms.txt](https://docs.codecrafters.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codecrafters.id/blockchain/testnet/empeiria/installation.md).

# Installation

### Install Dependencies

```bash
sudo apt update && sudo apt upgrade -y 
sudo apt install -y git gcc make unzip jq
```

### tall GO if needed <a href="#tall-go-if-needed" id="tall-go-if-needed"></a>

```bash
ver="1.22.2"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
```

### Set Vars <a href="#sett-vars" id="sett-vars"></a>

change MONIKER="Moniker" with your own moniker and change SYMPHONY\_PORT="14" to your own port

```bash
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="Moniker"" >> $HOME/.bash_profile
echo "export EMPED_CHAIN_ID="empe-testnet-2"" >> $HOME/.bash_profile
echo "export EMPED_PORT="14"" >> $HOME/.bash_profile
source $HOME/.bash_profile
```

#### Install Binary <a href="#install-binary" id="install-binary"></a>

```bash
cd $HOME
curl -LO https://github.com/empe-io/empe-chain-releases/raw/master/v0.1.0/emped_linux_amd64.tar.gz
tar -xvf emped_linux_amd64.tar.gz 
mv emped ~/go/bin
```

### Initialize Node <a href="#initialize-node" id="initialize-node"></a>

```bash
emped init $MONIKER --chain-id empe-testnet-2
emped config chain-id $EMPED_CHAIN_ID
emped config keyring-backend test
```

### Download Genesis and Addrbook <a href="#download-genesis-and-addrbook" id="download-genesis-and-addrbook"></a>

```bash
wget -O $HOME/.empe
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.codecrafters.id/blockchain/testnet/empeiria/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
