# IronFish Testnet

### Useful links

* Testnet introduction - <https://testnet.ironfish.network/about>
* Official docs - <https://ironfish.network/docs/onboarding/iron-fish-tutorial>
* Nodes Guru guide - <https://nodes.guru/ironfish/setup-guide/en>
* Testnet leaderboard - <https://testnet.ironfish.network/leaderboard>
* Network explorer - <https://explorer.ironfish.network/>
* GitHub - <https://github.com/iron-fish/ironfish>
* Discord - <https://discord.gg/9S2tHQj7B2>

### General tips

* Remember to keep your node updated at all times, you are required to update your node within a week of a new release
* Many issues (e.g. high memory usage) can be fixed by a simple node restart
* If you are having performance issues try sticking to either mining or node running, as running both on the same machine can be tricky
* When asking for a help, always provide details about your system and installation method as well as output of `ironfish status` command

### How to start mining in a pool

The guide assumes that you followed [Nodes Guru](https://nodes.guru/ironfish/setup-guide/en) installation method.

The list of available pools:

* `pool.ironfish.network` - official mining pool maintained by the IronFish team
* `stratum://peak-pool.com:9034` - Pool with a nice dashboard - <https://peak-pool.com/>
* `pool.ironfish.host` - Russian pool - <https://ironfish.host/>
* `36.189.234.195:60006` - Chinese pool - <https://zk.work/>

First we need to edit the IronFish service file and add the pool address:

```bash
nano /etc/systemd/system/ironfishd-miner.service
```

So to mine in a official mining pool, you would edit the execution command to look like this:

```bash
ExecStart=/usr/bin/yarn --cwd /root/ironfish/ironfish-cli/ start miners:start -v -t 5 --no-richOutput --pool pool.ironfish.network --address YourWallet
```

Don't forget to put desired number of mining threads and your IronFish wallet address.

Finally reload the service and restart the miner:

```bash
systemctl daemon-reload service && ironfishd-miner restart
```

Check the logs to see if the miner started doing its job:

```bash
journalctl -u ironfishd-miner -f
```

### How to speed up node sync

You can download official chain snapshot to sync your node much faster. Note that you do not need a synced node if you are mining in a official pool.

To download a database snapshot just execute the following command:

```
ironfish chain:download
```

> The command will download a chain database snapshot and replace a node's database. This allows nodes that are far behind the head of the chain to sync more quickly by downloading a pre-synced chain.

### How to send multiple transactions for testnet points

For every 0.1 IRON transaction that you make, you will receive 1 point on the leaderboard.

To automatically execute transactions issue the following command and sit back, it can take a while to execute transactions depending on your balance:

```
ironfish depositAll --confirm --fee=2
```

The process of creating transactions puts a strain on your node so it is advised to pause the miner while you are executing transactions:

```
service ironfishd-miner stop
```


---

# 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://docs.testooor.com/ironfish-testnet/ironfish-testnet.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.
