An open API service indexing awesome lists of open source software.

https://github.com/barkprotocol/bark-ai-agent

BARK AI Agent is an advanced AI-powered platform designed to optimize trading experiences on the Solana blockchain. This repository contains the source code for the BARK AI Agent website, which showcases the platform's features and provides user interaction.
https://github.com/barkprotocol/bark-ai-agent

ai aiagents defi ecosystem nextjs reactjs solana

Last synced: 3 months ago
JSON representation

BARK AI Agent is an advanced AI-powered platform designed to optimize trading experiences on the Solana blockchain. This repository contains the source code for the BARK AI Agent website, which showcases the platform's features and provides user interaction.

Awesome Lists containing this project

README

          

# BARK | AI Agent Website

![Bark AI Agent WebUI/UX](/public/assets/images/hero.png)

## Overview

BARK AI Agent is an advanced AI-driven platform that empowers users by streamlining charitable incentives and enhancing trading experiences on the Solana blockchain. This repository hosts the source code for the BARK AI Agent website, showcasing its innovative features and enabling seamless user interaction.

## Features

- **Responsive Design**: Optimized for seamless use across devices of all screen sizes.
- **Interactive UI Components**: Built with React and Next.js for an intuitive and engaging user experience.
- **Solana Wallet Integration**: Enables secure and efficient blockchain interactions.
- **Dark Mode Support**: Offers a sleek, user-friendly experience in both light and dark themes.
- **AI-Powered Trading Insights**: Provides intelligent analysis and recommendations for enhanced decision-making.
- **EAP Transaction Checker**: Ensures secure and verified transaction handling.
- **Dashboard Pricing Module**: Displays real-time pricing and data for informed trading strategies.

---

## Technologies Used

- Next.js 15 (App Router)
- React 19
- TypeScript
- Tailwind CSS
- Framer Motion for animations
- Solana Web3.js for blockchain interactions
- Lucide React for icons

## Getting Started

### Prerequisites

- Node.js (v20 or later)
- nnpm or yarn

## 📦 Installation

To get started with the **Bark AI Agent Dashboard**, follow the steps below:

### 1. Clone the Repository

First, clone the repository to your local machine:

```bash
git clone https://github.com/bark-protocol/ai-agent-web-ui.git
cd ai-agent-web-ui
```

### 2. Install Dependencies

Install the necessary dependencies using **npm**, **yarn**, or **pnpm**:

```bash
# Using npm
pnpm install (current)

# Or using yarn
yarn install

# Or using pnpm
pnpm install
```

### 3. Set Up Environment Variables

Create a `.env.local` file at the root of the project and add the necessary environment variables. Here’s an example configuration:

```dotenv
# Solana Configuration
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
HELIUS_API_KEY=your-helius-api-key

# Database Configuration
SUPABASE_JWT_SECRET=
SUPABASE_SERVICE_ROLE_KEY=
DATABASE_URL=your-database-connection-string
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=

# AI Configuration (if applicable)
OPEN_AI_API_KEY=your-ai-api-key
ANTHROPIC_API_KEY=

# Other required environment variables
NEXT_PUBLIC_PRIVY_APP_ID=your-privy-app-id
PRIVY_APP_SECRET=

# EAP Payments
NEXT_PUBLIC_EAP_RECEIVE_WALLET_ADDRESS=
```

### 4. Run the Development Server

Once the environment variables are set up, run the development server:

```bash
# Using npm
npm run dev

# Or using yarn
yarn dev

# Or using pnpm
pnpm dev
```

Visit `http://localhost:3000` to view the dashboard in your browser.

## 🗼 Project Structure

The project is organized into the following directories:

- **`/app`**: Contains the App Router and components for the dashboard.
- **`/components`**: Reusable UI components like buttons, cards, and modals.
- **`/lib`**: Utility functions and helpers.
- **`/styles`**: Tailwind CSS configuration and custom styles.
- **`/prisma`**: Database schema and Prisma client setup.

## ⚙️ How to Contribute

We welcome contributions to the Bark AI Agent Dashboard project! To get started:

1. Fork the repository.
2. Create a new branch for your feature or fix.
3. Make your changes and test them.
4. Submit a pull request (PR) with a detailed explanation of your changes.

Please make sure to follow the code style and run tests before submitting a PR.

## 📄 License

This project is licensed under the **MIT License**.

---

### Key Updates:

1. **Features**: Updated the language slightly to make it sound more engaging and professional.
2. **Technologies Used**: Listed out all technologies, tools, and libraries that power the dashboard.
3. **Installation Instructions**: More detailed steps on how to get started with the project, including setting up the environment variables.
4. **Project Structure**: Helps new developers understand how the project is organized.
5. **How to Contribute**: Encourages community contributions and provides guidelines for new contributors.
6. **License**: Added a placeholder for licensing.

### Next Steps:

1. **Provide Real API Keys**: Make sure to update the environment variables section with actual keys and setup instructions.
2. **Improve Documentation**: Add more details on specific features, such as how to connect a wallet or use AI-powered features.
3. **Deploy the Application**: Once the app is ready, deploy it to a platform like Vercel or Netlify to showcase it live.