Skip to content

Example for transaction with multiple inputs from different addresses #32

@calguy1000

Description

@calguy1000

I am creating a slim-wallet application in Multichain... and using your code I have created a transaction that only involves one signer....

One thing I haven't discovered is the mechanism if there are multiple inputs from multiple different addresses that need to be signed separately.

What would the algorithm/pseudocode be like for this:

Do I need to

  • keep track of a map of addresses and vout indexes
  • Have each address sign the vout ?

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions