Install ganache and import
- From the list of networks on metamast, click on custom RPC and input the following
- Network Name: Ganache
- New RPC URL: http://127.0.0.1:7545(you can get this from ganache)
- Chain ID: 1337
- Copy a private key from one of the wallet address in Ganache and import into metamask
yarn global add truffle
truffle compiile
truffle migrate --reset
truffle test
yarn start