Cip0000

fmgp.did.method.prism.cardano.Cip0000
See theCip0000 companion class
object Cip0000

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Cip0000.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

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

def fromPath(derivationPath: String): Either[String, Cip0000]

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

Givens

Givens

given decoder: JsonDecoder[Cip0000]
given encoder: JsonEncoder[Cip0000]