Cip0000

fmgp.did.method.prism.cardano.Cip0000
object Cip0000

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Cip0000.type

Members list

Value members

Concrete methods

def deriveHardened(mnemonic: String, passphrase: String = ..., didIndex: Int = ..., keyUsage: PrismKeyUsage = ..., keyIndex: Int = ...): HdKeyPair

Derive a hardened child key pair.

Derive a hardened child key pair.

Hardened derivation uses the private key and produces keys that cannot be derived from the parent public key.

Value parameters

index

the child index (will be hardened: index + 0x80000000)

Attributes

Returns

the derived child key pair

def didPath(didIndex: Int, keyUsage: PrismKeyUsage, keyIndex: Int): String

Build the derivation path for an account root key.

Build the derivation path for an account root key.

Path: m/purpose'/method'/did-index/key-usage/key-index

Attributes

Concrete fields

Method type constant for PRISM DID method 29.

Method type constant for PRISM DID method 29.

Attributes

val PURPOSE: Int

Purpose constant 29 (anagram for ID in Hex 0x1D)

Purpose constant 29 (anagram for ID in Hex 0x1D)

Attributes