# DAT (Data Anchoring Token) Tools Testing Guide
This guide provides natural language prompts to test all DAT tools with an AI assistant connected to the Hyperion MCP Server.
---
## Prerequisites
1. Get LazAI testnet tokens from: https://faucet.lazai.network/
2. Have your private key ready
---
## Test Prompts
### 1. Setup Wallet
> **Prompt:**
> Import my wallet with private key `YOUR_PRIVATE_KEY_HERE` and name it "TestWallet"
**Expected:** Wallet imported with address displayed
---
### 2. Get DAT Contract Info
> **Prompt:**
> Show me the DAT contract information
**Expected:** Returns contract address `0xD59CDFFEb65aCc539994e41D0B40efF61bE37118` on LazAI Testnet
---
### 3. Register a File for DAT
> **Prompt:**
> Register this file URL for DAT minting: `https://example.com/my-dataset.json`
**Expected:** Returns a file ID (e.g., 2678)
---
### 4. Check File Status
> **Prompt:**
> Get the DAT file info for file ID `2678`
**Expected:** Shows file URL, owner address, proofs count, and rewards count
---
### 5. Request Proof Verification
> **Prompt:**
> Request proof verification for file ID `2678`
**Expected:** Returns transaction hash and job ID. Proof is now pending verification by computing nodes.
---
### 6. Claim DAT Reward
> **Prompt:**
> Claim the DAT reward for file ID `2678`
**Expected:** Returns DAT token ID and transaction hash (only works if proofs > 0)
---
### 7. Check DAT Balance
> **Prompt:**
> What is my DAT token balance?
or
> **Prompt:**
> Check DAT balance for address `0x0E17561FEd60D7966Ab9d22A32D7B01dB9F02818`
**Expected:** Returns the number of DAT tokens owned
---
### 8. Get DAT Token Metadata
> **Prompt:**
> Get the metadata URI for DAT token ID `123`
**Expected:** Returns the IPFS or HTTP URL containing token metadata
---
### 9. One-Step DAT Minting
> **Prompt:**
> Mint a DAT token for this file: `https://example.com/another-dataset.json`
**Expected:** Registers file, requests proof, and attempts to claim reward in one step
---
## Complete Workflow Example
Use these prompts in sequence:
1. > Import my wallet with private key `abc123...` and name it "DAT Test"
2. > Register this file for DAT: `https://ipfs.io/ipfs/QmXyz123/metadata.json`
3. > Request proof verification for file ID `2680`
4. > Check the file info for file ID `2680` to see if proofs are ready
5. > Claim the DAT reward for file ID `2680`
6. > What is my DAT balance now?
---
## Workflow Diagram
```
Step 1: "Register this file for DAT: [URL]"
└── You get: File ID
Step 2: "Request proof for file ID [X]"
└── You get: Transaction hash, Job ID
Step 3: "Check file info for file ID [X]"
└── Wait until: Proofs > 0
Step 4: "Claim DAT reward for file ID [X]"
└── You get: DAT Token ID
Step 5: "What is my DAT balance?"
└── Verify: Balance increased
```
---
## Troubleshooting Prompts
**If no wallet:**
> Import my wallet with private key `YOUR_KEY`
**If insufficient funds:**
> Check my wallet balance
Then visit https://faucet.lazai.network/ to get testnet tokens
**If claim fails:**
> Get the file info for file ID `X`
Check if proofs > 0. If not, wait for computing nodes to verify.
---
## Quick Reference
| Action | Prompt |
|--------|--------|
| Import wallet | "Import wallet with private key X" |
| Get DAT contract | "Show DAT contract info" |
| Register file | "Register file URL X for DAT" |
| Check file | "Get DAT file info for ID X" |
| Request proof | "Request proof for file ID X" |
| Claim reward | "Claim DAT reward for file ID X" |
| Check balance | "What is my DAT balance?" |
| Get token URI | "Get metadata for DAT token X" |
---
## Useful Links
- **LazAI Explorer:** https://explorer.lazai.network/
- **LazAI Faucet:** https://faucet.lazai.network/
- **LazAI Docs:** https://docs.lazai.network/