Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multimodule - Symbol Network (WIP) #278

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Multimodule - Symbol Network (WIP) #278

wants to merge 1 commit into from

Conversation

fboucquez
Copy link
Owner

@fboucquez fboucquez commented Jul 12, 2021

This big PR changes bootstrap in 2 ways.

  • In changes the single module repo to a multimodule mono repo using Lerna. The CLI and the Core Lib have been split.
  • It adds the symbol-network core lib and CLI.

The new top-level readme explains better.

Network CLI

To try this new CLI you can check out this branch and build as instructed in the readme.

Alternatively, I would be keeping "alpha" npm packages while testing the new packages and Lerna deployment.

npm install -g symbol-bootstrap@multimodule
npm install -g symbol-network@multimodule
symbol-network verify
mkdir my-network
cd my-network
symbol-network init

And follow the instructions...

At the end of the wizard, you will have your network and nodes configured locally ready to be deployed in the cloud provider you desire. This PR doesn't include node deployment as there could be a lot of options. Atm, the user needs to define how to deploy (terraform, bash scripts, ansible scripts, etc). In the last step, the user would need to do is to push the node's folders into each VPS box and ssh a "symbol-bootstrap start".

Bootstrap changes

There has been a number of upgrades to bootstrap. They are not breaking change for mainnet and testnet nodes, only for new "bootstrap" private networks:

The new bootstrap version starts from 1.1.0, network version would start from 0.0.1 (until is stable enough to bump the major version)

TODOs:

  • Add link command at network level so you can link all your nodes to an existing network with one command (accounts are linked in the nemesis block when creating new network)
  • Code documentation
  • Unit tests around the new network tool.

Related:

@fboucquez fboucquez changed the title Multimodule - Symbol Network Multimodule - Symbol Network (WIP) Jul 12, 2021
@fboucquez fboucquez force-pushed the multimodule branch 11 times, most recently from 8b8ef7e to a8a49b9 Compare July 14, 2021 14:28
@fboucquez fboucquez requested review from segfaultxavi and Wayonb July 14, 2021 15:49
@fboucquez fboucquez force-pushed the multimodule branch 3 times, most recently from b48cd9e to 00729af Compare July 16, 2021 17:24
@fboucquez fboucquez force-pushed the multimodule branch 2 times, most recently from 604ec23 to 33f0523 Compare July 19, 2021 19:05
@fboucquez fboucquez force-pushed the multimodule branch 5 times, most recently from 0352482 to bb40a27 Compare July 21, 2021 21:16
@fboucquez fboucquez force-pushed the dev branch 10 times, most recently from 9627f1a to 347034c Compare January 14, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant