planetarium / planet-node

A simple node implementation using Libplanet
GNU Affero General Public License v3.0
7 stars 13 forks source link

Provide API (or CLI) to create a genesis block (with transactions) #23

Open dahlia opened 1 year ago

longfin commented 1 year ago

We already have very implicit and unintuitive logic for the genesis block.

https://github.com/planetarium/planet-node/blob/c0064f2a3cc9d2e53af9496b215cf4d0bbdf4d3e/Libplanet.Headless/Hosting/LibplanetHostingExtensions.cs#L39-L51

but I agree this issue's motivation if we need to explicit and direct way. 😅

@dahlia Could you please leave a rough design that you think of?