Coinwatch is a React application that tracks and displays cryptocurrency data, including wallet balances and conversions. This README provides instructions on how to run the application using Docker and without Docker, as well as guidance for setting up and using MetaMask.
- Node.js (version 18 or higher -- this app using version 20.15.0)
- Docker and Docker Compose (for Docker setup)
-
Clone the Repository
git clone https://github.com/andregit1/coinwatch.git cd coinwatch
-
Install Dependencies
npm install
-
Start the Application
npm start
-
Open the App in Your Browser
Open http://localhost:3000 in your browser
-
Clone the Repository
git clone https://github.com/andregit1/coinwatch.git cd coinwatch
-
Build the Docker Image
docker-compose build
-
Start the Application
docker-compose up
-
Open the App in Your Browser
Open http://localhost:3000 in your browser
- Download and Install MetaMask
- Visit the MetaMask website and download the extension for your preferred browser.
- Follow the installation instructions and add the MetaMask extension to your browser.
-
Create a New Wallet or Import an Existing Wallet
- Open the MetaMask extension and follow the instructions to create a new wallet or import an existing wallet using your seed phrase.
-
Connect to Ethereum Mainnet or a Test Network
- Ensure MetaMask is connected to the Ethereum Mainnet or a test network (e.g., Ropsten, Rinkeby) depending on your use case.
-
Connect Your Wallet
- Open Coinwatch in your browser.
- Click on the wallet icon in the header to connect your MetaMask wallet to Coinwatch.
- Follow the MetaMask prompts to approve the connection.
-
View Wallet Information
- Once connected, your wallet address and balance will be displayed in the WalletCard component.
- Use the eye icons to toggle the visibility of your address and balance.
-
Fetch Cryptocurrency Data
- Coinwatch fetches and displays cryptocurrency data using the CoinGecko API. Ensure you have an internet connection to fetch the latest data.