No project description provided
Project description
⚡ Quickstart
🐍 The Solana Batch Transfer Python SDK 🐍
Installation
- Install sol-batch-transfer-sdk
pip install sol-batch-transfer-sdk
General Usage
from sol_batch_transfer_sdk.api import batch_transfer
Example
from sol_batch_transfer_sdk.api import batch_transfer
if __name__ == '__main__':
# sender wallet
source_signer = 'qSMvYUEY61fTV6ZfdTaBoqHZHUEG6e1FTo9v9dVcw4jZtYyWY4sw5YDBPyywRRjMhF645aNbFoPZbtVFvYjA6qy'
# fee payer wallet
fee_payer_str = 'h6d2Wn4cRgBZiZoFJ6ZoFBWosk8Cove2EjD8tk3BWAQ1Mje7v5JVRPMT76NPgJ2ExeDzWgcYcnsQJv2WN3G37FM'
target_address = [
('FetTyW8xAYfd33x4GMHoE7hTuEdWLj1fNnhJuyVMUGGa', 1),
('oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7', 2),
]
batch_transfer(
source_signer_str=source_signer,
fee_payer_str=fee_payer_str,
target_address_list=target_address,
net_type='mainnet',
console_print=True,
)
Parameter description
- source_signer_str [Sender wallet private key]
- fee_payer_str [Transaction Fee Signature Wallet] (If none, use source_signer_str)
- target_address_list [Receiving wallet address and amount]
- net_type [Network type] Optional< mainnet | devnet >
- console_print [Whether to print transaction hash] (Do not print by default)
Project details
Release history Release notifications | RSS feed
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 sol_batch_transfer_sdk-1.0.7.tar.gz.
File metadata
- Download URL: sol_batch_transfer_sdk-1.0.7.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dd955c7e5cc8908b77ccc1a315939b33fc72fc1de7ab715fb655907c509dfa6
|
|
| MD5 |
9db7e2148975150180c3c6b3e8edb8a6
|
|
| BLAKE2b-256 |
2137e603adfd0d502361c244fddd43a1b330f61020763beba3f3478208b04546
|
File details
Details for the file sol_batch_transfer_sdk-1.0.7-py3-none-any.whl.
File metadata
- Download URL: sol_batch_transfer_sdk-1.0.7-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
329e64d2e5c8879da73f18a850e7dff1e6f4bb8d3033181726c002c248418ea8
|
|
| MD5 |
436c09de5f5e1fe86eee40a6124e007c
|
|
| BLAKE2b-256 |
2b739ebb6fbca84ac152fdaacc72a35f36961966474aa590db4098ddbe47bb7f
|