Skip to main content
In this example, we are going to sign a message for Bitcoin. You can also sign a message with a specific address type (payment or ordinal) or protocol (ecdsa or bip322-simple), as shown below: Notes:
  • Some wallets don’t allow you to specify the address type or protocol. In this case, we’ll just default to the address type and protocol that the wallet supports.
  • If you don’t specify an address type, we’ll default to the address type that the wallet supports or ordinals address.
  • If you don’t specify a protocol, we’ll use the default protocol for the wallet.