You are viewing a single comment's thread from:

RE: [piston] How to use it for multisignature accounts

in #piston8 years ago

So Amazing ! I was just explaining a friend how strong was NEM with their EigenTrust++ reputation and Multig account transaction

I feel glad you did this Xeroc.. It will open new possibilities.

Here the NEM system (in case it can help people understand clearly how a multisig transaction could work)


To send XEM from a multisig account to another account, a transfer transaction must be wrapped. The multisig wrapper transaction has a fee of 6 XEM. This fee is added to the usual transfer transaction fee.
The following example shows the steps that must be taken in more detail: Assume that a multisig account (M) has a balance of 1000 XEM and has three cosignatories (A, B, C) and 100 NEM needs to be transferred from M to another account X.
Any of the three cosignatories can initiate the 100 XEM transfer. Assuming that B initiates the transfer and A and C cosign, the following steps must happen for the transaction to be accepted:

  1. B creates a regular, unsigned transfer transaction that has the multisig account as the “signer” and the transfer amount as 100 XEM
  2. B wraps the unsigned transfer transaction in a multisig transaction
  3. B signs the multisig transaction and sends it to the NEM network
  4. A and C are notified of the pending multisig transaction
  5. A creates a multisig signature transaction by signing the hash of the unsigned transfer transaction and sends it to the network
  6. C creates a multisig signature transaction by signing the hash of the unsigned transfer transaction and sends it to the network
  7. Once all cosignatories (B implicitly and A and C explicitly) have signed the unsigned transfer transaction, the transaction is accepted by the network and 100 XEM is transferred from M to X

If A and/or C do not send a multisig signature transaction corresponding to the multisig transfer transaction before the transaction deadline, the multisig transfer transaction will be rejected by the network and no XEM will be transferred from M to X.

Enjoy. And thanks @xeroc !!!

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.030
BTC 67651.30
ETH 3269.44
USDT 1.00
SBD 2.64