Skip to main content

Nansen plugin for GOAT SDK

Project description

Nansen Plugin for GOAT SDK

A plugin for the GOAT SDK that provides access to Nansen's on-chain analytics and data services across multiple blockchains.

Installation

# Install the plugin
poetry add goat-sdk-plugin-nansen

# Install required wallet dependencies
poetry add goat-sdk-wallet-evm
poetry add goat-sdk-wallet-solana

Usage

from goat_plugins.nansen import nansen, NansenPluginOptions

# Initialize the plugin
options = NansenPluginOptions(
    api_key="${COINMARKETCAP_API}"  # Your Nansen API key
)
plugin = nansen(options)

# Get token analytics
token_data = await plugin.get_token_analytics(
    token_address="0x6B175474E89094C44Da98b954EedeAC495271d0F",  # DAI
    chain="ethereum"
)

# Get NFT collection analytics
nft_data = await plugin.get_nft_collection_analytics(
    collection_address="0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",  # BAYC
    chain="ethereum",
    time_range="24h"
)

# Get smart money flows
smart_money = await plugin.get_smart_money_flows(
    token_address="0x6B175474E89094C44Da98b954EedeAC495271d0F",  # DAI
    chain="ethereum",
    wallet_labels=["smart_money", "institutions"]
)

Features

  • Token Analytics:

    • Historical price and volume data
    • Token holder analysis
    • Smart money flow tracking
    • Trading activity metrics
  • NFT Analytics:

    • Collection statistics
    • Floor price tracking
    • Holder distribution
    • Trading volume analysis
  • Smart Money Tracking:

    • Wallet labeling and categorization
    • Token flow analysis
    • Smart money movement alerts
    • Institution tracking
  • Supported Chains:

    • Ethereum
    • Polygon
    • BNB Chain
    • Arbitrum
    • Optimism
    • Avalanche
    • Solana
    • Base

License

This project is licensed under the terms of the MIT license.

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

goat_sdk_plugin_nansen-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

goat_sdk_plugin_nansen-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file goat_sdk_plugin_nansen-0.1.1.tar.gz.

File metadata

  • Download URL: goat_sdk_plugin_nansen-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for goat_sdk_plugin_nansen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0898ae757037b8dbcbd5e7544e66c3068b1d6844c0ba8c53b92a780d73755c8f
MD5 33f011356ae505fb49cf3b5a92bcd435
BLAKE2b-256 ecf596e3912b7f43d3d275bcb7283c71fade44e262e3c3c2c23a298a9ff11814

See more details on using hashes here.

File details

Details for the file goat_sdk_plugin_nansen-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for goat_sdk_plugin_nansen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ab296a2c29f90e3ecd9f9793dec50fab649197596824298bc66c68bbb494627
MD5 2c92d80eb373cb5484356b890c4ac625
BLAKE2b-256 f4aa15129c743ae3414ed9e31cbefde56cf0a0bc8b0005b1289bad0363f8e7c6

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