mesg-foundation / js-sdk

Javascript mono-repo with all the tools to interact with MESG
https://mesg.com
4 stars 4 forks source link

Fetch and configure the engine to start on a specific network #168

Closed antho1404 closed 4 years ago

antho1404 commented 4 years ago

The command daemon:start now accepts the flag network which has by default the mesg-dev-chain network.

When starting the daemon it will fetch the configurations and write them in the right directory.

The directory is now .mesg/{{network}}/ instead of .mesg/ directly, this allows switching to different networks without losing all the data.