# Restarting ODIN node

## Restarting Your Audit Node

Clone this [repository](https://github.com/GeoDB-Limited/odin-testnet-public-tools).

The repository contains the docker-compose file for quick launching of the node with preconfigurations on rpc, and genesis.json. Change your current directory to `node` \
&#x20;Run startup bash script (for linux, mac):

```bash
./start.sh
```

Run following commands (for windows):

```
docker-compose -f ./docker-compose.yaml up -d
```

*Prerequisites: make sure that the validator private key (**priv\_validator\_key.json**) and node id (**node\_key.json**) files, are in node/config.*

It will start the node for you, which will ingest all the previous heights

After node is launched, it starts syncing with the network.

*Note: Check our nodes real-time logs with the following command:*

```
docker-compose logs -f --tail 10 node
```

⚠ **\[IMPORTANT]** Wait for the node to catch up with the remotes, to query it or send transactions

### Restoring wallet

First of all, you need to log into your docker container

```bash
docker exec -it node /bin/bash
```

Once logged in, you can use bandd CLI to restore your ODIN wallet address. Please make sure to keep your mnemonic safe! (you can use --keyring-backend test with the following command, for testing purposes)

```bash
bandd keys add [[YOUR_WALLET_NAME]] --recover # e.g. user1
```

After that you will be asked to enter your mnemonic phrase. This will recover your wallet from mnemonic.


---

# Agent Instructions: 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:

```
GET https://geodb.gitbook.io/odin-protocol/restarting-odin-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
