Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 629 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 629 Bytes

Musicoin Migration script

How to use this script

Hardhat config

npm i npm install dotenv npm install mongoose npm i bcrypt-nodejs npm i fastest-validator npm install web3

To deploy Artist contract (10 at a time) run below in terminal

npx hardhat --network <network> run ./scripts/migrate-Artist.js

To deploy releases contract (100 at a time)

npx hardhat --network <network> run ./scripts/migrate-Releases.js

{network} could be local/skale network configured in hardhat.config.js

Setup a local Skale network via refering to Skale-Sdk