# Preparation

### 🔔 Two Wallets Required

You must prepare **TWO WALLETS** before deployment:

1. **Margin Wallet** - For margin operations and collateral management
2. **Trading Wallet** - For executing trades and market making operations

#### **Match Infomation for Each Wallet:**

**For Margin Wallet:**

* Wallet Address, to `DOTSWAP_ACCOUNT_ADDRESS`
* Private Key (Hex Format), to `DOTSWAP_ACCOUNT_PRIVATE_KEY`

**For Trading Wallet:**

* Mnemonic/Seed Phrase, to `MNEMONIC`

### Wallet Security Preparation

Security is paramount. You need **TWO** Bitcoin wallets that are fully under your control and supported by the Nexus protocol.

#### **Recommended Wallets:**

* UniSat Wallet
* Xverse Wallet

#### **Critical Information Backup:**

* **Mnemonic/Seed Phrase:** This is the only way to recover your entire wallet. Be sure to write it down by hand on a physical medium and store it in at least two absolutely secure, offline locations. **Never save or transmit your seed phrase in any digital format (screenshots, text files) on a networked device.**
* **Market Making Account Address:** You will need to designate one or more addresses for market making.
* **Hex Private Key for the Address:** The Nexus software requires this private key to sign transactions. Please export it strictly according to your wallet's tutorial and keep it as secure as your seed phrase.

### Server Infrastructure

Your Nexus node requires a stable server environment to run.

#### **Server Providers:**

It is recommended to use Amazon Web Services (AWS), Linode, or other reputable cloud service providers.

#### **Recommended Configuration:**

* **CPU:** 2 Cores
* **Memory (RAM):** 4 GB
* **Storage:** 40 GB
* **Operating System:** Ubuntu 20 (or newer) / CentOS 8 (or newer)
* **Network:** A stable public IPv4 connection.


---

# 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.on.nexus/dotswap/developers/nexus-protocol/deployment-guide/preparation.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.
