This documentation provides an overview of UniCoin - A Cryptocurrency Exchange DApp, a decentralized application built using React and Cranq, and it is designed to work on the Goerli network. The DApp utilizes the Uniswap crypto exchange ecosystem to draw data and carry out transactions.
To run the Cryptocurrency Exchange DApp on your local machine, follow these steps:
- Clone the repository using the following command:
git clone https://github.com/sounxk/UniCoin.git
- Install the dependencies using the following command:
npm install
- Start the DApp using the following command:
npm start
The Cryptocurrency Exchange DApp allows users to buy and sell cryptocurrencies using the Uniswap ecosystem. To use the DApp, users must have a web3-enabled browser, such as MetaMask, and a Goerli testnet wallet.
-
Connect your MetaMask wallet to the Goerli testnet by selecting the Goerli network in the network dropdown.
-
Navigate to the Cryptocurrency Exchange DApp in your browser.
-
Connect your MetaMask wallet to the DApp by clicking the "Connect Wallet" button.
-
Once connected, you can view the available cryptocurrencies and their current prices on the Uniswap exchange.
-
To buy a cryptocurrency, select the desired token and enter the amount you wish to purchase.
-
Click the "Buy" button, and confirm the transaction in your MetaMask wallet.
-
To sell a cryptocurrency, select the token you wish to sell, and enter the amount you wish to sell.
-
Click the "Sell" button, and confirm the transaction in your MetaMask wallet.
The Cryptocurrency Exchange DApp is built using the following tools:
-
Cranq - a state management library for React.
-
React - a JavaScript library for building user interfaces.
-
useDapp - a library that simplifies the integration of Ethereum and web3 into React apps.
-
MetaMask - a browser extension that allows users to interact with Ethereum-enabled websites.
-
Uniswap - a decentralized exchange protocol that enables the exchange of ERC20 tokens.
This Cryptocurrency Exchange DApp is a decentralized application built using React and Cranq, and it is designed to work on the Goerli network. The DApp utilizes the Uniswap crypto exchange ecosystem to draw data and carry out transactions. Users are able to buy and sell cryptocurrencies using the DApp, and it is integrated with tools such as MetaMask and useDapp to simplify the process.