-
sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash nvm install 12.18.3 node -v
sudo npm install -g truffle@5.1.39 --unsafe-perm=true
- Ganache installation guide can be found in here.
- MetaMask installation guide can be found in here.
- provide your "appId" and "serverUrl" from Moralis (How to start Moralis Server) Example:
REACT_APP_MORALIS_APPLICATION_ID = xxxxxxxxxxxx REACT_APP_MORALIS_SERVER_URL = https://xxxxxx.grandmoralis.com:2053/server
- npm install
- cd Truffle
- truffle migrate --reset
- truffle exec scripts/issue-tokens.js
- In Truffle folder, Copy files of build/contracts
- cd ..
- In the src/contract/abis, copy files
- npm start