eip2645GetPath

open fun eip2645GetPath(ethAddress: String, layer: String, application: String, index: String): String

Generate a layer 2 eip2645 derivation path from eth address, layer, application and given index.

Return

a valid eip2645 layer 2 derivation path as a string

Parameters

wallet

non-null TWHDWallet

ethAddress

non-null Ethereum address

layer

non-null layer 2 name (E.G starkex)

application

non-null layer 2 application (E.G immutablex)

index

non-null layer 2 index (E.G 1)