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
Parameter | Type | Description |
---|---|---|
lotusHex | string | Lotus hex encoded private key .ie hex({"Type":"bls","PrivateKey":"base64pad(private-key)"}) |
network | Network | Network |