# Dusk

Website: <https://dusk.network>\
Telegram: <https://t.me/DuskNetwork>\
Discord: <https://discord.com/invite/dusknetwork>\
X: <https://twitter.com/duskfoundation>\
Docs: <https://docs.dusk.network/nocturne/node-running-guide/>

{% hint style="success" %}
Update Version 2.0

```
curl --proto '=https' --tlsv1.2 -sSfL https://github.com/dusk-network/node-installer/releases/download/v0.2.0/node-installer.sh | sudo sh && service rusk start
ruskquery block-height
tail -F /var/log/rusk.log
```

{% endhint %}

#### Install Dependencies: <a href="#install-dependencies" id="install-dependencies"></a>

```
sudo apt update && sudo apt upgrade -y
sudo apt install tmux htop
```

**Create wallet:**

```
https://wallet.dusk.network/setup/
```

**Faucet:**

```
https://docs.dusk.network/nocturne/testnet-faucet
```

**Restore wallet:**

```
rusk-wallet restore
```

**Run the following command to export a consensus key for the given wallet:**

```
rusk-wallet export -d /opt/dusk/conf -n consensus.keys
```

```
sh /opt/dusk/bin/setup_consensus_pwd.sh
```

**Start rusk:**

```
service rusk start
```

**Check sync:**

```
ruskquery block-height
```

**Stake Dusk:**

```
rusk-wallet stake --amt 1000
```

**Check stake:**

```
rusk-wallet stake-info
```

**Check logs:**

```
grep "execute_state_transition" /var/log/rusk.log | tail -n 5
```

```
tail -n 30 /var/log/rusk.log
```

**Check status:**

```
service rusk status
```


---

# 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://services.node39.top/index.html/testnet/dusk.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.
