Skip to content

Conversation

@baptiste-marchand
Copy link
Contributor

@baptiste-marchand baptiste-marchand commented Oct 23, 2025

This PR add Bitcoin support by updating types


Note

Adds a Bitcoin bip122 RPC scope with UTXO/PSBT/signing/transfer methods and registers it in the default RPC API.

  • Types:
    • bip122 scope: Introduces Bip122Rpc with Bitcoin methods: signMessage, sendTransfer, signPsbt (with fill/broadcast options and optional feeRate), fillPsbt, broadcastPsbt, computeFee, and getUtxo.
    • UTXO model: Adds Utxo type (outpoint, value, derivationIndex, scriptPubkey/scriptPubkeyHex, optional address).
  • API Registration:
    • Adds bip122: Bip122Rpc to DefaultRpcApi in src/types/scopes/index.ts.

Written by Cursor Bugbot for commit d2f3cd4. This will update automatically on new commits. Configure here.

@baptiste-marchand baptiste-marchand marked this pull request as ready for review November 26, 2025 09:57
@baptiste-marchand baptiste-marchand requested a review from a team as a code owner November 26, 2025 09:57
@baptiste-marchand baptiste-marchand merged commit 3e9662b into main Nov 26, 2025
22 checks passed
@baptiste-marchand baptiste-marchand deleted the feat/bitcoin-support branch November 26, 2025 10:05
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.

3 participants