class ArkEcosystem::Crypto::Transactions::Builder::SecondSignatureRegistration

The builder for second signature registration transactions.

Public Instance Methods

set_second_passphrase(second_passphrase) click to toggle source
# File lib/arkecosystem/crypto/transactions/builder/second_signature_registration.rb, line 12
def set_second_passphrase(second_passphrase)
  @transaction.asset = {
    signature: {
      public_key: ArkEcosystem::Crypto::Identities::PublicKey.from_passphrase(second_passphrase)
    }
  }
  self
end
type() click to toggle source
# File lib/arkecosystem/crypto/transactions/builder/second_signature_registration.rb, line 21
def type
  ArkEcosystem::Crypto::Enums::Types::SECOND_SIGNATURE_REGISTRATION
end