BurnAddress - What is it for, How is it genarated?

+2 votes
I would like to be able to generate a valid burn address with the chain params off chain.

How is it generated? I world rather not have to getinfo from the chain as it adds operational complexity.

I saw some people saying about giving it send, receive permissions.

Can the original chain administrator get assets back from there?

Main objective question: can i use it as an output for publishing to a stream if I give it receive permissions?

Thanks
asked Jun 30, 2018 by alexb

1 Answer

+2 votes

The burn address is an address for which there is no corresponding private key. Any assets sent there will therefore not be recoverable, by the administrator or anyone else.

The method for generating the burn address with all the X's is quite complex, and it's in the MultiChain source code if you want to see it. But any random address (not generated from a private key) can be used as an effective burn address. You can use the instructions on the page below, starting at step 4 with a random 40 character hexadecimal string instead of something calculated from something else:

https://www.multichain.com/developers/address-key-format/

Any burn addresses does need to be given receive permissions to have assets sent there. But there is no point giving the burn address send permissions, since it's not possible for anyone to sign a transaction on its behalf. Therefore it also cannot be used as the source for publishing to a stream.

If your interest in the burn address is to publish to a stream without sending any assets anywhere, then you don't need to worry about that. MultiChain takes care of that automatically using APIs like publishfrom.

answered Jul 2, 2018 by MultiChain
...