Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/core/wasm_modules/cardano-multiplatform-lib-web/cardano_multiplatform_lib.d.ts>Bip32PrivateKey.from_128_xprv

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Very Popular
Go to Latest
method Bip32PrivateKey.from_128_xprv
import { Bip32PrivateKey } from "https://deno.land/x/lucid@0.5.2/src/core/wasm_modules/cardano-multiplatform-lib-web/cardano_multiplatform_lib.d.ts";

128-byte xprv a key format in Cardano that some software still uses or requires the traditional 96-byte xprv is simply encoded as prv | chaincode however, because some software may not know how to compute a public key from a private key, the 128-byte inlines the public key in the following format prv | pub | chaincode so be careful if you see the term "xprv" as it could refer to either one our library does not require the pub (instead we compute the pub key when needed)

Parameters

bytes: Uint8Array