# x402z Testnet User Guide

{% hint style="info" %}
Learn more about x402z at [here](https://docs.mindnetwork.xyz/minddocs/product/x402z).
{% endhint %}

***

### User Guide: x402z Confidential Payment Testnet

Welcome to the x402z testnet. This guide details how to configure your AI Agent, manage Confidential Tokens (ConfUSDC), and execute privacy-preserving transactions on the Sepolia network.

#### 1. Connect and Configure

Access the Platform Navigate to the [official x402z dashboard](https://x402z.mindnetwork.xyz/).

**Wallet Setup**

1. Click Connect Wallet in the top right corner.
2. Approve the signature request in your wallet provider (e.g., MetaMask).
3. Ensure your network is switched to Sepolia Testnet.

<figure><img src="/files/0uvzhGMSPSt00cLiOmzL" alt=""><figcaption></figcaption></figure>

#### 2. Initialize Your Agent

1. Click the Launch button on the main interface.
2. In the pop-up modal, review the details and select Create Agent.
3. Wait for the on-chain transaction to confirm the creation of your autonomous agent instance.

<figure><img src="/files/MPHWnzT1D5o4JRf9ycGq" alt=""><figcaption></figcaption></figure>

#### 3. Asset Management: Claim and Encrypt

Before your Agent can operate, it requires gas (Sepolia ETH) and payment tokens (TestUSDC).

**Step A: Faucet**

* **Sepolia ETH**: If your wallet lacks Sepolia ETH for gas fees, please obtain some from a standard Sepolia faucet.
* **TestUSDC:** Locate the asset panel and click Claim TestUSDC. This asset will serve as the underlying capital for your Agent's payments.

**Step B: Encrypt Assets (Claim ConfUSDC) To utilize the privacy features of x402z, you must convert public ERC-20 tokens into Confidential Tokens.**

1. Refresh your asset balance to see the claimed TestUSDC.
2. Input the amount of TestUSDC you wish to encrypt (Recommendation: Minimum 10 USDC).
3. Click Encrypt to Wrap ConfUSDC.

<div><figure><img src="/files/RvMBO5j8zLi4isNaprlp" alt=""><figcaption></figcaption></figure> <figure><img src="/files/XGrQhnrb3hURvkjSUJFz" alt=""><figcaption></figcaption></figure></div>

> Note: This process utilizes Fully Homomorphic Encryption (FHE) standards to ensure your balance remains private on-chain.

#### 4. Execute Agent Tasks

1. Scroll down to the Agent control panel.
2. Click Start Agent to initiate the automated testing sequence.

<figure><img src="/files/fKawcnKiSjpVTmelwvEX" alt=""><figcaption></figcaption></figure>

> Beta Warning: As this is a testnet environment, you may experience intermittent service or network latency. If the Agent fails to start, please retry after a few moments.

#### 5. History and Decryption

View Transaction History Navigate to Agent History to monitor payment activities.

* **Default View:** Payment amounts are encrypted and hidden from the public ledger to ensure intent privacy.
* **Decrypt View:** Click the Unlock icon next to a transaction to locally decrypt and view the specific payment amount.

<figure><img src="/files/iBrF00Z2sk7nYq2ab2Q9" alt=""><figcaption></figcaption></figure>

Manage Confidential Balance In the Confidential Balance section, you can manage your private assets.

* **Unwrap (Decrypt to Public):** To convert ConfUSDC back to standard TestUSDC, click Unwrap.
* **Privacy Warning:** Unwrapping assets will expose the specific amount on the public blockchain.
* **Confirmation:** Click Confirm Decrypt and sign the transaction. Please ensure you have sufficient Sepolia ETH to cover the gas fees.

<figure><img src="/files/YWwIe1OiWWMWYsdgzsMA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JVOaSoomyKpBQpyS3FdV" alt=""><figcaption></figcaption></figure>


---

# 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.mindnetwork.xyz/minddocs/product/x402z/x402z-testnet-user-guide.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.
