Skip to content

manish2889/ethertrendai-gas-predictor

Repository files navigation

EtherTrendAI: Gas Price Predictor

EtherTrendAI is a React-based web application that predicts Ethereum gas prices using AI technology. It provides users with current gas prices and forecasts for the next 24 hours, helping them make informed decisions about their Ethereum transactions.

Features

  • Real-time Ethereum gas price display
  • AI-powered gas price predictions for 1, 6, 12, and 24 hours ahead
  • Interactive line chart for visualizing price trends
  • Responsive design for desktop and mobile devices

Technologies Used

  • React.js
  • Chart.js with react-chartjs-2
  • Axios for API requests
  • Tailwind CSS for styling
  • Etherscan API for current gas prices

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js (v14.0.0 or later)
  • npm (v6.0.0 or later)
  • An Etherscan API key

Installation

  1. Clone the repository: git clone https://github.com/manish2889/ethertrendai-gas-predictor.git

  2. Navigate to the project directory: cd ethertrendai-gas-predictor

  3. Install the dependencies: npm install

  4. Create a .env file in the root directory and add your Etherscan API key: REACT_APP_ETHERSCAN_API_KEY=your_api_key_here

Usage

To run the application locally:

  1. Start the development server: npm start

  2. Open your browser and visit http://localhost:3000

Building for Production

To create a production build: npm run build

This will create a build directory with optimized production-ready files.

Contributing

Contributions to EtherTrendAI are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions or feedback, please reach out to [email protected].

Acknowledgements