-
Clone the repo CLI
git clone https://github.com/hktitof/Ypredict.git
-
Install dependencies
yarn
-
make sure you have Polygon Mumbai Testnet in your MetaMask Network list, follow the following URL if you don't have it.
https://medium.com/stakingbits/how-to-connect-polygon-mumbai-testnet-to-metamask-fc3487a3871f
-
add your wallet to whitelist in the file "config/whitelist/whitelist.ts", make sure your wallet address declared as lowercase in the constant "whitelist".
config/whitelist/whitelist.ts
- add USDC to your wallet to your wallet, and get 100 USDC for testing purposes, first of all add this address "0xe6b8a5CF854791412c1f6EFC7CAf629f5Df1c747" to your asset in wallet "MetaMask", make sure you choose Mumbai Testnet, then click on claim in the following contract, you should have some matic to get USDC, by connecting your wallet .
https://mumbai.polygonscan.com/address/0xe6b8a5CF854791412c1f6EFC7CAf629f5Df1c747#writeProxyContract
-
you are good to go and run Development
yarn dev