Changeset View
Changeset View
Standalone View
Standalone View
doc/psbt.md
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
### Workflows | ### Workflows | ||||
#### Multisig with multiple Bitcoin ABC instances | #### Multisig with multiple Bitcoin ABC instances | ||||
Alice, Bob, and Carol want to create a 2-of-3 multisig address. They're all using | Alice, Bob, and Carol want to create a 2-of-3 multisig address. They're all using | ||||
Bitcoin ABC. We assume their wallets only contain the multisig funds. In case | Bitcoin ABC. We assume their wallets only contain the multisig funds. In case | ||||
they also have a personal wallet, this can be accomplished through the | they also have a personal wallet, this can be accomplished through the | ||||
multiwallet feature - possibly resulting in a need to add `-rpcwallet=name` to | multiwallet feature - possibly resulting in a need to add `-rpcwallet=name` to | ||||
the command line in case `bitcoin-cli` is used. | the command line in case `ecash-cli` is used. | ||||
Setup: | Setup: | ||||
- All three call `getnewaddress` to create a new address; call these addresses | - All three call `getnewaddress` to create a new address; call these addresses | ||||
*Aalice*, *Abob*, and *Acarol*. | *Aalice*, *Abob*, and *Acarol*. | ||||
- All three call `getaddressinfo "X"`, with *X* their respective address, and | - All three call `getaddressinfo "X"`, with *X* their respective address, and | ||||
remember the corresponding public keys. Call these public keys *Kalice*, | remember the corresponding public keys. Call these public keys *Kalice*, | ||||
*Kbob*, and *Kcarol*. | *Kbob*, and *Kcarol*. | ||||
- All three now run `addmultisigaddress 2 ["Kalice","Kbob","Kcarol"]` to teach | - All three now run `addmultisigaddress 2 ["Kalice","Kbob","Kcarol"]` to teach | ||||
Show All 36 Lines |