This is a simple UNISWAP clone app, you can use to send eth between wallets using the Ropsten Network.
- Next JS as client - nextapp directory
- Sanity as backendServer - studio directory
- Hardhat, solidity - smart_contracts directory
- NextJS
- Sanity
- Solidity
- TailwindCSS
git clone [email protected]:acushlakoncept/uniswap-clone.git
cd uniswap-clone
The app contains three directories
First one contains NextJS app
-
cd nextapp
from root dir runyarn install
-
There is a .env.example, rename to .env after providing your SANITY_TOKEN AND APP_ID from Sanity.io
to run the app npm run dev
Second, contains Sanity app
cd studio
from root dir runyarn install
to run the appsanity start
The Third contains smartcontracts
cd smart_contracts
from root dir runnpx hardhat compile
to compile the contract runnpx hardhat run scripts/deploy.js --network ropsten
to deploy contract to ropsten network
Build Uniswap Blockchain Web 3.0 App with Solidity | Next.js | Sanity.io by Clever Programmer