View Source Dpos.Tx.SecondSignature (DPoS v0.4.0)
A transaction to register a secondary public key to sign transactions.
Example:
wallet = Wallet.generate("first secret")
%{pub_key: second_pub_key} = Wallet.generate("second secret")
Tx.SecondSignature
|> Tx.build(%{fee: 2500000000})
|> Tx.SecondSignature.set_public_key(second_pub_key)
|> Tx.sign(wallet)
Summary
Functions
Sets the public key to register for second signature.
Functions
Sets the public key to register for second signature.