nattdata-sdk
v1.1.2
Published
NattSwap SDK — Cross-chain swaps with NDAT rewards for AI agents
Maintainers
Readme
nattdata-sdk — Cross-Chain Swap SDK for AI Agents
The first agent-first SDK for cross-chain swaps with NDAT rewards.
Zero pre-mine. Zero VC. Zero ICO. 21M supply. 70% burn. Verify on BaseScan.
Install
npm install nattdata-sdkQuick Start
import { NattSwap } from "nattdata-sdk"
const natt = new NattSwap()
// 1. Get a cross-chain swap quote (Base → Ethereum)
const quote = await natt.swap({
fromChain: NattSwap.BASE,
toChain: NattSwap.ETHEREUM,
fromToken: NattSwap.USDC_BASE,
toToken: NattSwap.USDC_ETH,
fromAmount: "1000000", // 1 USDC (6 decimals)
fromAddress: "0xYOUR_WALLET",
toAddress: "0xYOUR_WALLET",
})
// 2. After swap confirmed, register for NDAT rewards
const reward = await natt.registerReward({
txHash: "0xABC...",
fromAddress: "0xYOUR_WALLET",
fromChain: NattSwap.BASE,
toChain: NattSwap.ETHEREUM,
fromAmountUSD: "100.00",
})
// 3. Claim your NDAT tokens on-chain
const claim = await natt.claim("0xYOUR_WALLET")
// Returns ECDSA signature → submit to NattDataAnchor.claimNDAT()
// 4. Check your NDAT balance
const balance = await natt.balance("0xYOUR_WALLET")
// 5. Access Mimo's trading data (Proof-of-Data)
const cycles = await natt.cycles("0xYOUR_WALLET")Supported Chains (Li.Fi — 35+ blockchains, 10,000+ tokens)
Any Li.Fi chain ID works. These are built-in constants:
| Chain | ID | Constant |
|---|---|---|
| Base | 8453 | NattSwap.BASE |
| Ethereum | 1 | NattSwap.ETHEREUM |
| Arbitrum | 42161 | NattSwap.ARBITRUM |
| Optimism | 10 | NattSwap.OPTIMISM |
| Polygon | 137 | NattSwap.POLYGON |
| Avalanche | 43114 | NattSwap.AVALANCHE |
| BSC | 56 | NattSwap.BSC |
| Fantom | 250 | NattSwap.FANTOM |
| zkSync | 324 | NattSwap.ZKSYNC |
| Linea | 59144 | NattSwap.LINEA |
| Scroll | 534352 | NattSwap.SCROLL |
| Mantle | 5000 | NattSwap.MANTLE |
| Blast | 81457 | NattSwap.BLAST |
| Solana | 1151111081099710 | NattSwap.SOLANA |
| + 20 more... | | Pass any chain ID |
NDAT Tokenomics
- Max Supply: 21,000,000 NDAT
- Pre-Mine: ZERO
- Burn Rate: 70% of all fees
- Loyalty Pool: 30% to early adopters
- Halving: Every 5,000 Mimo trading cycles
- Referral: 10% bonus NDAT (Proof-of-Recruitment)
Contracts (Base Mainnet)
| Contract | Address |
|---|---|
| NDAT Token | 0x7601...77dd |
| NattDataAnchor | 0x920c...AcF7 |
Links
- GitHub: DIALLOUBE-RESEARCH/NattData-SDK
- Website: hypernatt.com
- MCP Tools: hypernatt.com/mcp/tools
- X: @hypernatt
License
MIT
