- Solidity (Writing Smart Contract)
- Javascript (React & Testing)
- Web3 (Blockchain Interaction)
- Truffle (Development Framework)
- Ganache (For Local Blockchain)
- Install NodeJS, should work with any node version below 16.5.0
- Install Truffle, In your terminal, you can check to see if you have truffle by running
truffle version
. To install truffle runnpm i -g truffle
. Ideal to have truffle version 5.4 to avoid dependency issues. - Install Ganache.
npm install --force
--force is necessary because of react-timestamp
truffle migrate --reset --network development
or
truffle dashboard
truffle migrate --network dashboard
truffle run contract-size --checkMaxSize
truffle test
truffle exec ./scripts/some_script.js
Deploy to rinkeby (or mumbai) and search your contract address on https://testnets.opensea.io/
npm run start
Install metamask in your browser and configure it to use ganache. Import a ganache account
npm run build
Build will be in build folder
Copy files to your server
scp -r build user@server:/var/www/textonstone/public/