feat(cli): add extension signing, vault creation fee, --yes flag, and bridge auth fix - #11
Merged
Merged
Conversation
… bridge auth fix - Extension signing: new extension/ bridge server and signing.py for browser-wallet interaction (Polkadot.js/Talisman) via local WebSocket - Signing UX: --signer-backend/--signer-address/--extension-* flags; LedgerSigner refactored to support multiple signing backends - Vault creation fee: vault create now queries vault_creation_fee from on-chain global params, displays the fee, prompts for confirmation, and passes the fee as native TAO value with the extrinsic - --yes/-y flag: wired yes_option into the root CLI callback and CLIContext; commands can now check state.assume_yes to skip prompts - Dry-run shows value: DryRunResult now carries the transferred value and Output renders it in both JSON and rich modes - Bridge auth fix: JavaScript now sends BRIDGE_TOKEN (not empty string); server closes unauthenticated connections and restricts relay to authenticated sessions only - Remove dead code: drop unused imports, stale accrue-interest references, and duplicated output helpers across command files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
browser-wallet interaction (Polkadot.js/Talisman) via local WebSocket
LedgerSigner refactored to support multiple signing backends
on-chain global params, displays the fee, prompts for confirmation,
and passes the fee as native TAO value with the extrinsic
CLIContext; commands can now check state.assume_yes to skip prompts
and Output renders it in both JSON and rich modes
server closes unauthenticated connections and restricts relay to
authenticated sessions only
and duplicated output helpers across command files