semvec/pypi-packages huggingface dataset:
goat-sdk-wallet-solana 0.1.6
Goat SDK Solana wallet implementation
Requires Python: <4.0,>=3.10
Keywords: goat, sdk, solana, agents, ai, wallet

# 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

```bash
poetry add goat-sdk-wallet-solana
```

## Usage

```python
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.