ForAccount

org.sigilaris.core.application.support.runtime.SignedTxBuilder.ForAccount
final class ForAccount

Builder that caches the signing context (account and key pair) for repeated use.

Attributes

Source
SignedTxBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def sign[A <: Tx : Hash : Sign](tx: A): Either[SigilarisFailure, Signed[A]]

Signs a transaction using the cached account and key pair.

Signs a transaction using the cached account and key pair.

Type parameters

A

the transaction type

Value parameters

tx

the transaction to sign

Attributes

Returns

either a signing failure or the signed transaction

Source
SignedTxBuilder.scala