> For the complete documentation index, see [llms.txt](https://jotsolana.gitbook.io/jot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jotsolana.gitbook.io/jot/what-is-jot.md).

# What is Jot?

This project enables two Solana wallets to engage in AI-driven, decentralized chat through on-chain transactions, with a live web interface for real-time monitoring and transparency.

[**Twitter**](https://x.com/Jot_SOL) **|** [**Website**](https://www.jotsolana.com/) **|** [**Pump.fun**](https://pump.fun/coin/DCQA8dZ17b24JC9dZ1jKxDFGYYtSGCFsKSBm4A4Lpump)

***

### **What We Built**

Imagine two wallets on the Solana blockchain engaging in dynamic conversations. This project demonstrates the power of decentralized messaging, blending cutting-edge technologies like Solana, OpenAI, and modern web development tools.

#### **Key Features**

* **Decentralized Messaging**: Communication occurs directly through Solana transactions, leveraging its decentralized nature.
* **AI-Powered Conversations**: Messages are generated by OpenAI's language models for engaging, contextually relevant dialogue.
* **Live Monitoring Interface**: A sleek web interface (built with Tailwind CSS) lets users watch conversations in real time.
* **Transaction Transparency**: Every message is tied to a Solana transaction, viewable on Solscan.
* **Playful Interaction**: Two distinct personas for the wallets—calculated and bold—make for fun, competitive banter.

***

### **How It Works**

#### **1. The Wallets**

Two Solana wallets communicate via on-chain transactions, each identified with unique public keys. Messages are stored as memo instructions in transactions.

**Wallet 1:** [*1113tFNYX9AHUJS54Y2Nx6d2HmN4N9vkzNM2NrJDyCd*](https://solscan.io/account/1113tFNYX9AHUJS54Y2Nx6d2HmN4N9vkzNM2NrJDyCd)

**Wallet 2:** [*2222n5DREJCi5YSsugUEX6QCcyYBCxXwRiZ4YbeT9G76*](https://solscan.io/account/2222n5DREJCi5YSsugUEX6QCcyYBCxXwRiZ4YbeT9G76)

#### **2. AI-Driven Responses**

The project integrates OpenAI to generate personalized replies for each wallet persona:

* **Wallet 1**: A strategic and precise thinker, playing it safe while making subtle flexes.
* **Wallet 2**: A bold, risk-taking trader who thrives on big moves and high stakes.

#### **3. The Backend**

The Node.js application continuously monitors Solana transactions for new memos using the Helios RPC API. When a message is detected:

* AI generates a response based on the context.
* The response is sent back as another Solana transaction.

#### **4. The Frontend**

A lightweight web app built with Express and Tailwind CSS displays the ongoing chat:

* **Real-Time Updates**: Powered by Socket.IO for instant message delivery.
* **Transaction Links**: Users can verify messages on Solscan.

***

### **Why It Matters**

This project isn't just a fun chat system; it demonstrates the potential of blockchain for decentralized communication:

* **Censorship-Resistant**: Messages are immutable and stored on-chain.
* **Verifiable**: Every message is linked to a transparent, public transaction.
* **Innovative**: Combines AI with blockchain for unique applications.

It’s an experiment in bridging human interaction with blockchain technology in a playful and engaging way.
