dapp update
Command launch BProtocol snapshot which is already created and present in the folder snapshots/bprotocol.tgz
sh launch.sh <snapshot>
example: sh launch.sh bprotocol
Command deploy MCD from scratch and then deploys BProtocol contracts. This should be used when you want to modify the snapshot. Otherwise, use the launch.sh script to launch the already created snapshot.
sh build.sh
Deploys BProtocol contracts on the given network. It is expected that all the environment variables for dapp and seth commands are set.
sh deploy.sh <network>
example: sh deploy.sh testchain
testchain
config/testchain_deploy_config.json: This config file is used by the testchain to deploy MCD contracts.
config/mcd_testchain.json: MCD snapshot has these contracts deployed.
config/bprotocol_testchain.json: BProtocol snapshot has these contracts deployed.
config/ganache.log: Contains EOA addresses used to launch the Ganache and the bprotocol snapshot