> For the complete documentation index, see [llms.txt](https://docs.mindnetwork.xyz/minddocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindnetwork.xyz/minddocs/product/x402z/x402z-testnet-user-guide.md).

# 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="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2FDU4c0bdIGgjkZQ2UsI7s%2Fimage.png?alt=media&amp;token=dca3f6c9-da69-460e-9b77-ce38efd71d41" 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="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2FE3LpCJUBlUNd2jdqozrz%2Fimage.png?alt=media&amp;token=81491b40-83c4-4c3a-8a25-9184b0dbe154" 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="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2F5B2tNXlbDN2T6h74guy2%2Fimage.png?alt=media&amp;token=d0d6f3e0-227e-42ff-9057-3e5ab9785bf6" alt=""><figcaption></figcaption></figure> <figure><img src="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2FADR7ucNbCVn6DNxgEHbv%2Fimage.png?alt=media&amp;token=3eaf9734-dce2-4a6f-b6f5-a9b3544f9cbd" 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="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2F8wb2tGYpSSsVXtaTwbxH%2Fimage.png?alt=media&amp;token=7465f792-e068-4cd1-a634-263253466525" 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="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2FS42BUL7r4h4ibSjlwXbH%2Fimage.png?alt=media&amp;token=21f6e591-8918-4605-9f0d-e3f2ed2274cb" 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="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2FM7zEzSx3SGYQpNQdioQx%2Fimage.png?alt=media&amp;token=e95ae1f6-8148-4ebb-a97a-bf8a892b1c7e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1430718782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhJfyUe1I7P47fzKlldpK%2Fuploads%2FeHTvQyTn4F8OH5f9e71h%2Fimage.png?alt=media&amp;token=27238a98-e1ac-46d7-8d17-5f4f2f90d659" alt=""><figcaption></figcaption></figure>
