Account

org.sigilaris.core.application.feature.accounts.domain.Account
See theAccount companion object
enum Account

Account identifier - can be either Named or Unnamed.

Named accounts use UTF-8 strings as identifiers and support key recovery. Unnamed accounts use KeyId20 (20-byte hash) and have no recovery mechanism.

Attributes

Companion
object
Source
AccountsTypes.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Named(name: Utf8)

A named account identified by a UTF-8 string, supporting key recovery.

A named account identified by a UTF-8 string, supporting key recovery.

Value parameters

name

the account name

Attributes

Source
AccountsTypes.scala
final case class Unnamed(keyId: KeyId20)

An unnamed account identified only by a KeyId20, with no recovery mechanism.

An unnamed account identified only by a KeyId20, with no recovery mechanism.

Value parameters

keyId

the 20-byte key identifier

Attributes

Source
AccountsTypes.scala