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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c026c73481be1363e0ed1b037b46156a67a5d498ab7702787103d135208f3322
|
|
| MD5 |
ee188d3a138ba48ad9b57b05987fa5bc
|
|
| BLAKE2b-256 |
0167ae858e72deebf637ef4069d26616b2ed7e170a2028696ca69c0058b32d12
|
File details
Details for the file goat_sdk_wallet_solana-0.1.6-py3-none-any.whl.
File metadata
- Download URL: goat_sdk_wallet_solana-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d5ae7b5ddd12f1108438efad7719634ddeae9e504d4e70bc89e8144505b8fc7
|
|
| MD5 |
cd6260fb1891b753d3bc542de0dea430
|
|
| BLAKE2b-256 |
0cf5d476297f6560c2040b3818a95d908b7dc362a3e6a204b1e923bfd102be28
|