Bounty: 100 RTC
Description
Create a Python SDK for interacting with RustChain nodes. Should be installable via pip install rustchain and provide clean programmatic access to all public API endpoints.
Requirements
- Published to PyPI as
rustchain
- Async support (aiohttp or httpx)
- Type hints throughout
- Methods for:
client.health() — node health check
client.epoch() — current epoch info
client.miners() — list active miners
client.balance(wallet_id) — check RTC balance
client.transfer(from, to, amount, signature) — signed transfer
client.attestation_status(miner_id) — check attestation
client.explorer.blocks() — recent blocks
client.explorer.transactions() — recent transactions
- Error handling with typed exceptions
- README with quickstart examples
- At least 20 unit tests
Bonus (25 RTC)
- CLI wrapper:
rustchain balance my-wallet
- WebSocket support for real-time block feed
Reference
- API endpoints:
https://50.28.86.131/health, /epoch, /api/miners, etc.
- Existing BoTTube Python SDK for style reference:
pip install bottube
Wallet
Include your RTC wallet address in the PR description.
Bounty: 100 RTC
Description
Create a Python SDK for interacting with RustChain nodes. Should be installable via
pip install rustchainand provide clean programmatic access to all public API endpoints.Requirements
rustchainclient.health()— node health checkclient.epoch()— current epoch infoclient.miners()— list active minersclient.balance(wallet_id)— check RTC balanceclient.transfer(from, to, amount, signature)— signed transferclient.attestation_status(miner_id)— check attestationclient.explorer.blocks()— recent blocksclient.explorer.transactions()— recent transactionsBonus (25 RTC)
rustchain balance my-walletReference
https://50.28.86.131/health,/epoch,/api/miners, etc.pip install bottubeWallet
Include your RTC wallet address in the PR description.