Skip to main content

Superfluid Plugin for GOAT SDK

A plugin for the GOAT SDK that provides real-time token streaming and programmable cashflow functionality through the Superfluid Protocol.

Installation

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

# Install required wallet dependency
poetry add goat-sdk-wallet-evm

Usage

from goat_plugins.superfluid import superfluid, SuperfluidPluginOptions

# Initialize the plugin
options = SuperfluidPluginOptions(
    rpc_url="${RPC_PROVIDER_URL}"  # Your EVM RPC URL
)
plugin = superfluid(options)

# Create a token stream
stream = await plugin.create_stream(
    chain_id=137,  # Polygon
    token_address="0xCAa7349CEA390F89641fe306D93591f87595dc1F",  # USDC.e
    recipient="recipient_address",
    flow_rate="385802469135802",  # 1000 tokens per month
)

# Get stream details
flow_info = await plugin.get_flow(
    chain_id=137,
    token_address="0xCAa7349CEA390F89641fe306D93591f87595dc1F",
    sender="sender_address",
    recipient="recipient_address"
)

# Manage index subscription
subscription = await plugin.update_subscription(
    chain_id=137,
    token_address="0xCAa7349CEA390F89641fe306D93591f87595dc1F",
    publisher="publisher_address",
    index_id=1,
    units=100
)

Features

  • Token Streaming:

    • Create and manage token streams
    • Real-time balance updates
    • Flow rate calculations
    • Stream statistics
  • Pool Management:

    • Instant Distribution Agreements (IDA)
    • Pool membership control
    • Units management
    • Distribution calculations
  • Advanced Features:

    • Super Agreements
    • Super Tokens
    • Batch call support
    • Stream automation
  • Supported Networks:

    • Ethereum
    • Polygon
    • Arbitrum
    • Optimism
    • Avalanche
    • BSC
    • Base
    • All Superfluid-enabled chains

License

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

Metadata

Release files for goat-sdk-plugin-superfluid 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for goat-sdk-plugin-superfluid 0.1.1
File Size Uploaded Provenance Actions
goat_sdk_plugin_superfluid-0.1.1.tar.gz 3.8 kB Without provenance Details for goat_sdk_plugin_superfluid-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for goat-sdk-plugin-superfluid 0.1.1
File Interpreter ABI Platform Actions
goat_sdk_plugin_superfluid-0.1.1-py3-none-any.whl Python 3 none any Details for goat_sdk_plugin_superfluid-0.1.1-py3-none-any.whl

Total release size: 8.6 kB

Release files / goat_sdk_plugin_superfluid-0.1.1.tar.gz

Download URL goat_sdk_plugin_superfluid-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a2e5ebd933060e829ea28949e993529e922e8a4ba53677d260dd3560217e3144
BLAKE2b-256 checksum
How to use checksums
2b5a183bac0e4873405ee03cdbea3f794a45a3c60b700a6fc604b42aeca595e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

Release files / goat_sdk_plugin_superfluid-0.1.1-py3-none-any.whl

Download URL goat_sdk_plugin_superfluid-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6828051a9b47b08eb06ab846f5c271e5f52ed25175112546b61306799ee05b4e
BLAKE2b-256 checksum
How to use checksums
6bb04d200f31c1c054a1808608bbe559ef709f8f52a9547448a1a6e9ffafa721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

Security for goat-sdk-plugin-superfluid 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page