Example repo to test new migrations on Rinkeby
$ git clone https://github.com/cgewecke/rinkeby-migrations.git --recursive
$ cd rinkeby-migrations
$ npm run bootstrap
Create a secrets.js
as below:
module.exports = {
mnemonic: <12-word-mnemonic-string>,
infura: <infura-api-key-string>
}
$ npm run migrate:dev # You must launch ganache in separate terminal tab
$ npm run migrate:ropsten
$ npm run migrate:rinkeby