Hi!
I've implemented cross-network signature collection. That means that you can
have an account on public network and share/get its signatures on test network.
In this update, oc-multisig use test network by default and any account on
which it has been previously enabled is going to use test network.
You can change that by using:
multisig.setup(keypair, { network: 'public' })
As I've also implemented support for custom networks, it opens the door to a
custom network dedicated to signatures sharing. It would remove the burden from
the public network and avoid the issue of the test network being reseted from
time to time:
multisig.enable(keypair, { network: 'network_passphrase', server: 'horizon_url' })
multisig.setup(keypair, { network: 'network_passphrase', server: 'horizon_url' })
This would make signature collection happening on a custom network. All that is
left to do is actually running the nodes.
Thanks to how Stellar handle transaction hash and signature, an account can be
used over multiple networks with signature collection happening just fine.
If you want to enable signature collection for an account that is on a
custom/private network, this is also possible. Just tell oc-multisig how to
reach it:
multisig.useNetwork('network_passphrase', 'horizon_url')
This would enable multisig to collect signatures for accounts on custom
network. Please note the difference with the previous commands, which were
telling multisig to store an account related signatures on a custom network.
Cross-network can quickly get tricky (^_^)"""
.