(CKDpriv {k-par :private-key c-par :chain-code depth :depth} index)
Private parent key → private child key
Reference: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#private-parent-key--private-child-key
Private parent key → private child key Reference: `https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#private-parent-key--private-child-key`
(CKDpub {K-par :public-key c-par :chain-code depth :depth} index)
Public parent key → public child key
Reference: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#public-parent-key--public-child-key
Public parent key → public child key Reference: `https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#public-parent-key--public-child-key`
(derive-master-node seed)
Master key generation
Reference: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#master-key-generation
Master key generation Reference: `https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#master-key-generation`
(derive-path seed chain-path key-type)
Derive a public/private key from a seed and a derivation path.
e.g. (derive-path "000102030405060708090a0b0c0d0e0f" "m/0H/1/2H/2/1000000000" :private) → {:private-key "471b76e389e528d6de6d816857e012c5455051cad6660850e58372a6c3e6e7c8", :chain-code "c783e67b921d2beb8f6b389cc646d7263b4145701dadd2161548a8b078e65e9e", :index 1000000000, :depth 5}
Derive a public/private key from a seed and a derivation path. e.g. (derive-path "000102030405060708090a0b0c0d0e0f" "m/0H/1/2H/2/1000000000" :private) → `{:private-key "471b76e389e528d6de6d816857e012c5455051cad6660850e58372a6c3e6e7c8", :chain-code "c783e67b921d2beb8f6b389cc646d7263b4145701dadd2161548a8b078e65e9e", :index 1000000000, :depth 5}`
(N {k-par :private-key c-par :chain-code index :index depth :depth})
Private parent key → public child key
Reference: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#private-parent-key--public-child-key
Private parent key → public child key Reference: `https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#private-parent-key--public-child-key`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close