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")

Chain IDs

Chain ID Constant
Base 8453 NattSwap.BASE
Ethereum 1 NattSwap.ETHEREUM
Arbitrum 42161 NattSwap.ARBITRUM
Solana 1151111081099710 NattSwap.SOLANA

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.0.0.tar.gz (4.9 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.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nattdata-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e850e59f6cdcf77c7df8ca2b049a78ba680b2338e9ff2993004a70a8f13be1f8
MD5 21d5ed0012f6a1219960db87bff49cc7
BLAKE2b-256 008c97310dfa325e97f34d362c0008520da5a3bd988c252b7f83fa8049cbaaad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nattdata-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b956a3310cb4f4d9cc1fd7da2b82ad8f0bc905e1da4a50f4ab5d56f384c3345
MD5 19b2ca17871ce001ccdf17b702491b8a
BLAKE2b-256 508d926de863f0f0f80f2ed9cae4800bd05ff3e13c1b83e5ecd18d8c48ff0084

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