- Create a following
credentials.jsfile in theethereumfolder:
module.exports = {
MNEMONIC_PHRASE: "xxx",
INFURA_ENDPOINT_RINKEBY: "yyy",
};
- Run
npm install - Run
npm run dev - Go to http://localhost:3000
node ethereum/compile.js
node ethereum/deploy.js
Then copy the address where the contract was deployed to the ethereum/factory.js