Updated on 2026-08-14
This commit is contained in:
parent
5a62376bfa
commit
f4fa13627c
15 changed files with 142 additions and 53 deletions
|
|
@ -40,6 +40,10 @@ data class AccountId private constructor(
|
|||
private val sha256Digest: MessageDigest by lazy { MessageDigest.getInstance("SHA-256") }
|
||||
private val hexRegex = Regex("^[a-fA-F0-9]{64}$")
|
||||
|
||||
fun forMainCryptoPortfolio(userWalletId: UserWalletId): AccountId {
|
||||
return forCryptoPortfolio(userWalletId = userWalletId, derivationIndex = DerivationIndex.Main)
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a unique account identifier for a crypto portfolio
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue