Crowdsale dapp
This react project can be cloned directly and just add additional dependencies or change the structure depending on necessities.
Installing web3.js
https://web3js.readthedocs.io/en/v1.3.4/index.html
This project uses NPM as the package manager so new dependencies should be installed using npmnpm install web3
https://tailwindcss.com/
This project uses tailwind as a CSS framework you can get tailwind atnpm install tailwindcss
Installing metamask as the wallet provider
This dapp is powered by metamask, a wallet provider that allow us to use a lot of blockchain networks and inject web3 objects directly to our browser window to install metamask go to:
Reading transactions through the binance block explorer
Access to https://testnet.bscscan.com/
Paste the test contract token or the test crowdsale contract address (the crowdsale contract address can be found at ./Components/walletInteract.js) This will be changed once the contract is deployed on the main net.
https://web3js.readthedocs.io/en/v1.3.4/getting-started.html
Or with a new instance of a web3 objectweb3 = new Web3