This project is a cryptocurrency exchange platform built with modern web technologies. Users can connect their crypto wallets, view live cryptocurrency prices, and send crypto assets across the blockchain. The platform includes a responsive frontend, a smart contract backend, and live crypto price updates.
- Wallet Connection: Connect your crypto wallet to initiate transactions.
- Live Price Updates: View real-time prices for popular cryptocurrencies.
- Blockchain Transactions: Send crypto securely to any address on the blockchain.
- Interactive UI: Built with React and styled with Tailwind CSS for a smooth user experience.
client
: The frontend React application where users interact with the platform.smart_contract
: Contains the Solidity smart contracts deployed on the Sepolia Testnet.
Before running this project, ensure you have the following installed:
Follow these steps to run the project locally:
git clone https://github.com/Ayush2948/Crypto-Exchange.git
cd Crypto-Exchange
Navigate to the client
directory and install dependencies:
cd client
npm install
Navigate to the smart_contract
directory and install dependencies:
cd ../smart_contract
npm install
Compile the Solidity contracts with Hardhat:
npx hardhat compile
Run a local blockchain instance with Hardhat:
npx hardhat node
You can deploy contracts to the Sepolia Testnet or any local network:
npx hardhat run scripts/deploy.js --network sepolia
Open a new terminal, navigate to the client
folder, and start the frontend:
cd client
npm start
- React: JavaScript library for building the user interface.
- Tailwind CSS: CSS framework for styling.
- Hardhat: Development environment for Ethereum.
- Solidity: Smart contract programming language.
- Sepolia Testnet: Ethereum test network for contract deployment.
- VS Code: Code editor.
- GitHub: Version control and collaboration platform.
- CoinCap API: API for live cryptocurrency prices.
Contributions are welcome! Please fork this repository, create a new branch, and submit a pull request.
|
|
|
This project is licensed under the MIT License.