# Preparation

<mark style="color:red;">During the testing process, if you encounter any issues, please contact us</mark>

&#x20;<mark style="color:red;">**<https://t.me/may1618>**</mark>

### 🔔 Two Wallets Required

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

1. **BTC Wallet** - If the borrower defaults, the lender automatically gains control of the BTC collateral through the Taproot script, allowing them to seize the BTC as compensation.
2. **ETH Wallet** - Deploys the loan contract on Ethereum, provides the loan to the borrower, and withdraws repayment after the borrower has successfully repaid.

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

**For BTC Wallet:**

* Wallet Address, to `NEXUS_CONFIG_BTC_ADDRESS`
* Private Key (Hex Format), to `NEXUS_CONFIG_BTC_PRIVATE_KEY`

**For ETH Wallet:**

* Wallet Address, to `NEXUS_CONFIG_ETH_ADDRESS`
* Private Key (Hex Format), to `NEXUS_CONFIG_ETH_PRIVATE_KEY`

### Wallet Security Preparation

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

#### **Recommended Wallets:**

* Xverse Wallet
* MetaMask Wallet

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

* **Hex Private Key for the Address:** The Hodlfi Nexus 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 Hodlfi Nexus 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.
