Companion

object Companion

Factory for opening the account-scoped Rust runtime.

Functions

Link copied to clipboard

Consume a temporary secret copy and derive its non-secret account reference without opening SQLite.

Link copied to clipboard

Consume a temporary secret copy and return its canonical nsec.

Link copied to clipboard

Generate one validated local account secret in Rust.

Link copied to clipboard
fun open(secretKey: ByteArray, databaseDirectory: File, logging: SoftchatLogging? = null): SoftchatAccount

Open or create one Rust-owned account database.

Link copied to clipboard

Parse one hexadecimal or nsec account authority in Rust.