hashgraph / hedera-sdk-swift

Hedera™ SDK for Swift
Apache License 2.0
27 stars 11 forks source link

Multi node, multi signature offline signing support #383

Open jbair06 opened 2 months ago

jbair06 commented 2 months ago

Problem

Issue is copied from JS SDK, please review the conversation: https://github.com/hashgraph/hedera-sdk-js/issues/2481

The SDK currently does not support the use case of multiple signatures for multiple nodes when signing is done offline. Transaction.sign(key) works for multi node, multi sig but not offline. PrivateKey.signTransaction(transaction) supports offline multi sig, but not multi node.

Solution

A new object and a couple new methods can solve this situation.

Alternatives

No response