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.1.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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nattdata-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 610c68d284c68a36063adf089d49da366ac91bdc28cd35c6c8aec2c2e4bd1f40
MD5 3b9c61e493b06ea45861fd86295a1901
BLAKE2b-256 a9505ffe5231b6d70f05409c2b3fabf2adcd385f032b145e04d7f7cf147a9d15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nattdata-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37c38eff567cb9fb78a12f6373ccce216ad2cf90ab9a69b1ddb2ed0ce80215ea
MD5 7d5088f999779563a0dcc4fd389ba93e
BLAKE2b-256 01c4c47105422d50e1341c7f575196df7de0ab390380cec8413d33e145756e47

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