Install dependencies in root project and compile the contracts
cd ..
npm i
npm run compile
Install dependencies from upgrade
folder
cd upgrade
npm i
Create .env
file
cp .env.example .env
Complete the variables in .env
file. The ROLE
variable indicates if the validator will send the creation transaction on the multisig wallet or if it will send the confirmation.
Run the script. The following are available:
npm run upgradeBridgeOnForeign