BIP Proposal: Wallet Interface [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2020-12-25T18:11:23+00:00


Summary:

A proposed Bitcoin Improvement Proposal (BIP) outlines a standardized wallet API that aims to define a simple interface for Bitcoin wallets and applications. The goal is to cover the majority of use cases and facilitate the development of more robust Bitcoin applications. The proposed API would expose a wallet's address derivation and signing functions in a standardized way, allowing for greater interoperability between wallets and applications. Wallet software should prompt users for confirmation when performing sensitive operations like signing. The proposal includes mandatory methods such as `wallet_getAddresses`, `wallet_signMessage`, and `wallet_signPSBT`. The standardization of the wallet API would provide clear expectations for wallet interface and behavior, increase user choice, and enhance confidence in application development. External access to wallet functionality should be carefully managed to protect user security and privacy. Examples of Ethereum APIs and wallet interfaces are provided, along with a live demo and interactive documentation. The hope is that this standard API document will simplify the creation of development tools and documentation.


Updated on: 2023-08-02T02:59:00.364012+00:00