Skip to main content

Goat SDK Solana wallet implementation

Project description

Solana Wallet for GOAT SDK

A Python implementation of a Solana wallet for the GOAT SDK, providing secure key management and transaction signing capabilities.

Installation

poetry add goat-sdk-wallet-solana

Usage

from goat_wallets.solana import solana_wallet

# Initialize wallet with seed phrase
wallet = solana_wallet(
    seed="${SOLANA_WALLET_SEED}"  # Your base58-encoded seed phrase
)

# Get wallet address
address = wallet.get_address()

# Get SOL balance
balance = await wallet.get_balance()

# Sign and send transaction
signature = await wallet.sign_and_send_transaction(
    transaction="your_encoded_transaction"
)

# Get transaction status
status = await wallet.get_transaction_status(signature)

Features

  • Secure Key Management:

    • Seed phrase support
    • Public/private key pair generation
    • Address derivation
  • Transaction Operations:

    • Transaction signing
    • Transaction sending
    • Status tracking
    • Signature verification
  • Balance Management:

    • SOL balance queries
    • Token account balance
    • Associated token accounts
  • Network Support:

    • Mainnet Beta
    • Testnet
    • Devnet
    • Custom RPC endpoints

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_wallet_solana-0.1.6.tar.gz (5.6 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_wallet_solana-0.1.6-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file goat_sdk_wallet_solana-0.1.6.tar.gz.

File metadata

  • Download URL: goat_sdk_wallet_solana-0.1.6.tar.gz
  • Upload date:
  • Size: 5.6 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_wallet_solana-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c026c73481be1363e0ed1b037b46156a67a5d498ab7702787103d135208f3322
MD5 ee188d3a138ba48ad9b57b05987fa5bc
BLAKE2b-256 0167ae858e72deebf637ef4069d26616b2ed7e170a2028696ca69c0058b32d12

See more details on using hashes here.

File details

Details for the file goat_sdk_wallet_solana-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for goat_sdk_wallet_solana-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8d5ae7b5ddd12f1108438efad7719634ddeae9e504d4e70bc89e8144505b8fc7
MD5 cd6260fb1891b753d3bc542de0dea430
BLAKE2b-256 0cf5d476297f6560c2040b3818a95d908b7dc362a3e6a204b1e923bfd102be28

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