-
Notifications
You must be signed in to change notification settings - Fork 0
Web UI for deposit and bot status #2
Copy link
Copy link
Open
Description
Context
Users need a way to check their bot status and see the Telegram bot handle after provisioning. The on-chain data model already supports this — a frontend can derive the UserBot PDA from the connected wallet and display all fields.
Requirements
- Connect wallet (Phantom/Solflare)
- Show UserBot state: bot_handle, is_active, provisioning_status, available balance
- Show ServiceStatus: accepting_new, active/max instances
- Link to Telegram bot when handle is available
- Deposit SOL to create/fund bot account
Technical Notes
- UserBot PDA:
seeds = [b"user_bot", wallet_pubkey] - ServiceStatus PDA:
seeds = [b"service_status"] - Program ID:
C1nMit7QsTGXDxb3p5EdNGDjRLQE1yDPtebSo1DA3ejX(devnet) - Can use
@solana/web3.js+@coral-xyz/anchorwith the IDL attarget/idl/claw_chain.json
Priority
High — key hackathon deliverable for user-facing demo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels