This readme was written assuming a windows environment using PowerShell, but can easily be changed for Linux or MacOS.
-
Shivani Thaker
-
Jude Tillekeratne
-
Tejpal Sahota
- Clone repo and install Flask + Savoir (if pip isn't working, make sure you've added python and pythonscripts to your path). Also move the contents of the chains folder to where your MultiChain was installed (\AppData\Roaming\MultiChain)
$ pip install flask
$ pip install savoir
-
Navigate into the repo
-
Move the chains folder contents to AppData\Roaming\MultiChain
-
Add the launch scripts to your $profile.
-
Use the function launchNodes to start the 10 nodes (abc, corp1, corp2... corp9). Then use the function cutc to start the interactive explorer!
$ launchNodes
$ cutc
- If it is your first time running, issue assets by running this command. It'll issue the same amounts to every chain and it may take some time to complete:
$ issueAssets
Make RPC requests using Savoir or refer to the MultiChain Documentation to make requests from a cli.