Type42KeyDerivation
BRC-42 compliant deterministic key derivation for Bitcoin applications. Generate consistent keys across different contexts and applications.
🔧
Live preview would be rendered here
Component: Type42KeyDerivation
Install component
npm$
npm install bigblocks
import { Type42KeyDerivation } from 'bigblocks';
export default function KeyDerivation() {
return (
<Type42KeyDerivation
privateKey="L1aW4aubDFB7yfras2S1mN3bqg9nwySY8nkoLmJebSLD5BWv3ENZ"
onKeyDerived={(derivedKey) => {
console.log('Derived key:', derivedKey.address);
console.log('Invoice:', derivedKey.invoice);
}}
/>
);
}