Skip to content

accountFromLotus

function accountFromLotus(lotusHex: string, network: Network): IAccount

Defined in: packages/iso-filecoin/src/wallet.js:131

Get account from lotus private key export

Parameters

ParameterTypeDescription
lotusHexstringLotus hex encoded private key .ie hex({"Type":"bls","PrivateKey":"base64pad(private-key)"})
networkNetworkNetwork

Returns

IAccount