Skip to main content

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

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.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nattdata-1.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file nattdata-1.1.2.tar.gz.

File metadata

  • Download URL: nattdata-1.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for nattdata-1.1.2.tar.gz
Algorithm Hash digest
SHA256 f453ed15f99cb244fc7099094453edcabc2db18443121355afd6c3a25475525d
MD5 334b55ab66dca3718fc96f014d64f4c4
BLAKE2b-256 a7766a74217b6e75225ff9cdb1afa989ec6db3fac71f5dbdeddf46fbd09066b1

See more details on using hashes here.

File details

Details for the file nattdata-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: nattdata-1.1.2-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

Hashes for nattdata-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b69c2ce58ab40cfe58397d5284c45b79b526a43f08c724629329e9503d13977b
MD5 8e1b3a59862e01e1646d9a048f12e7b0
BLAKE2b-256 64bd13e5a55a6a3d047d16cb9bd3389a9472bd7c16234c9e78e07433d1a31ce4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page