Skip to content

Merge development to main (v0.9.2) - #110

Merged
crtahlin merged 2 commits into
mainfrom
development
Mar 19, 2026
Merged

Merge development to main (v0.9.2)#110
crtahlin merged 2 commits into
mainfrom
development

Conversation

@crtahlin

Copy link
Copy Markdown

Summary

Merges all changes from development since last release.

Pre-flight balance check in _send_transaction() catches low wallet
balance before broadcasting, showing wallet address, balance, estimated
cost, and network-aware faucet/bridge link. Also detects "insufficient
funds" RPC errors and converts them to the same actionable format.

- Add InsufficientFundsError (inherits ChainTransactionError)
- Add faucet_url/bridge_url to CHAIN_PRESETS
- Add _check_balance() with MIN_BALANCE_WEI/LOW_BALANCE_WEI thresholds
- Add _handle_insufficient_funds() CLI helper with JSON support
- Catch InsufficientFundsError in all 8 chain write commands + protect
- Update chain balance to use preset faucet/bridge URLs
- Bump version to 0.9.2
Add actionable insufficient funds UX for chain operations
@crtahlin
crtahlin merged commit 400eed7 into main Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant