Welcome to the Developer Q&A for the MultiChain blockchain platform.

Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.

HDW (BIP0032)

+1 vote
Hi, would there be any obstacles that would make it non-standard/trivial task to implement HD Wallet (BIP0032 - https://en.bitcoin.it/wiki/Deterministic_wallet) on multichain - or is it at all supported? The use-case is running the block with chain-protocol = multichain.
 

Thanks in advance
asked May 18, 2016 by hameddk

1 Answer

0 votes

We don't have any immediate plans to do this in MultiChain itself, but there's no reason why you can't generate HD addresses externally, and then use importprivkey or importaddress to add them to a MultiChain wallet as needed. Any HD technique designed for bitcoin will work immediately with MultiChain.

If your chain is using permissioning for send/receive transactions, you'll also need to grant new permissions every time a new address is used in this way.

answered May 18, 2016 by MultiChain
Thanks, the answer I had hoped for :)
Great. One more thing - if you don't want to worry about translating version bytes and the like, and just be able to use straight bitcoin address and private key formats, make sure these are set in your blockchain's parameters:

address-pubkeyhash-version=00
address-scripthash-version=05
private-key-version=80
address-checksum-value=00000000
...