- Create a following
credentials.js
file in theethereum
folder:
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