Command to initialise Omni node
jmozah opened this issue · comments
Zahoor Mohamed commented
Summary
We need a command to initialise the system.
Motivation
Things like creating a default account (optionally password protected), genesisfile etc
before the system is started for the first time.
Implementation
- This should be implemented as a separate command under cmd/omni.
- Ability to create a node ID (or IDs) to be used by both consensus and execution layer.
- Create default genesis file for Testnet and Mainnet for both consensus and execution layer.
Drawbacks
- May be we should have separate keys for node and validator for more security.
- As we don't have the execution layer integrated for now. it is difficult to think about creating that now (but possible).