Is it possible to store custom raw data in the genesis block of a multichain?

+1 vote
Is it possible to store custom raw data in the genesis block of a multichain? Obviously after the first node has been ran, this cannot be changed. But before then, either using multichain-util or the params.dat file, can any custom attributes or raw data be added?
asked Feb 27, 2017 by Michael

1 Answer

0 votes

Good question! There isn't a broad mechanism for this, but I can suggest a couple of workarounds:

  • Use the chain-description blockchain parameter which can contain up to 256 characters and is locked down by the genesis block.
  • Write the raw data into the first item of the blockchain's root stream (which is enabled by default), in the first transaction on the chain. This can only be done by the chain's creator, because other addresses won't yet have been granted permissions. At the application level you can consider this first item to be an extension to the genesis block.
answered Feb 28, 2017 by MultiChain
...