NattSwap SDK — Cross-chain swaps with NDAT rewards for AI agents
Project description
nattdata — 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
pip install nattdata
Quick Start
from nattdata import NattSwap
natt = NattSwap()
# 1. Get a cross-chain swap quote (Base → Ethereum)
quote = natt.swap(
from_chain=NattSwap.BASE,
to_chain=NattSwap.ETHEREUM,
from_token=NattSwap.USDC_BASE,
to_token=NattSwap.USDC_ETH,
from_amount="1000000", # 1 USDC (6 decimals)
from_address="0xYOUR_WALLET",
to_address="0xYOUR_WALLET",
)
print(quote["transactionRequest"]) # Ready to sign!
# 2. After swap is confirmed, register for NDAT rewards
reward = natt.register_reward(
tx_hash="0xABC...",
from_address="0xYOUR_WALLET",
from_chain=NattSwap.BASE,
to_chain=NattSwap.ETHEREUM,
from_amount_usd="100.00",
)
# 3. Claim your NDAT tokens on-chain
claim = natt.claim(wallet="0xYOUR_WALLET")
# Returns ECDSA signature → submit to NattDataAnchor.claimNDAT()
# 4. Check your NDAT balance
balance = natt.balance(wallet="0xYOUR_WALLET")
# 5. Access Mimo's trading data (Proof-of-Data)
cycles = natt.cycles(wallet="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
- Website: hypernatt.com
- MCP Tools: hypernatt.com/mcp/tools
- X: @hypernatt
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nattdata-1.1.0.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nattdata-1.1.0.tar.gz.
File metadata
- Download URL: nattdata-1.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f98a094498154295ffa27b51cc1ef2d26975b53f1d5cfabb29bab03d0ec21c6c
|
|
| MD5 |
ae16037edc1fdd13ae1fd474ac350bb7
|
|
| BLAKE2b-256 |
240e6e20ff9464d612262b1f7fee2e1e4d543a75f1f4ec7acf4646d762d40c22
|
File details
Details for the file nattdata-1.1.0-py3-none-any.whl.
File metadata
- Download URL: nattdata-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d6cf016deb614f547e8fd482b77eaaf3d0625fc7a445d2ef730f50b4529aed4
|
|
| MD5 |
e4842649e8636d060e6125bc6fa105bf
|
|
| BLAKE2b-256 |
f09605619bb6402487b702aa46d2cdcbd9bf62c11e4d952c4957f58c39b88230
|