Metadata-Version: 2.1
Name: goat-sdk-wallet-solana
Version: 0.1.5
Summary: Goat SDK Solana wallet implementation
Home-page: https://ohmygoat.dev/
Keywords: goat,sdk,solana,agents,ai,wallet
Author: Andrea Villa
Author-email: andreakarimodm@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: PyNaCl (>=1.5.0,<2.0.0)
Requires-Dist: goat-sdk (>=0.1.0,<0.2.0)
Requires-Dist: solana (>=0.30.2)
Requires-Dist: solders (>=0.18.0)
Project-URL: Bug Tracker, https://github.com/goat-sdk/goat/issues
Project-URL: Repository, https://github.com/goat-sdk/goat
Description-Content-Type: text/markdown

# 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.

