Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/xinbenlv/ethgpt

ChatGPT Plugin for Ethereum and EVM dApp / smart contract functionalities
https://github.com/xinbenlv/ethgpt

chat-gpt chatgpt-plugin chatgpt-plugin-template chatgpt-plugins examples nextjs nextjs-template openai plugin template

Last synced: 8 days ago
JSON representation

ChatGPT Plugin for Ethereum and EVM dApp / smart contract functionalities

Awesome Lists containing this project

README

        

# EthGPT

EthGPT is an ChatGPT plugin (and template) written in Typescript to bring Ethereum and EVM-chain based dApp and smart contract functionalities.

As of today OpenAI ChatGPT plugin is still alpha test only. To beging use it you could [apply to join the waitlist](https://openai.com/waitlist/plugins)

## Usage Demo
![demo](./public/demo.gif)

## Install Demo

![demo](./public/user-demo-v1.gif)

## Contributor Guide

This app has no user interface, instead it's meant to use with GhatGPT's UI so therefore you must have access to ChatGPT plugins, which at the moment are still in beta.

### Project setup

1. Clone the repo, install depdendencies:

```sh
git clone [email protected]:xinbenlv/ethgpt.git

cd ethgpt

yarn # or npm install, pnpm
```

2. Run the server in dev mode

```sh
yarn dev

# If you run this in dev mode, the memory may not persist well as the server will randomly restart sometimes
```

3. Set up your GPT Plugin in the ChatGPT Plugin UI.

When prompted for your website domain, type in 'http://localhost:3000'

### Usage

1. Go to ChatGPT and start a conversation with the bot you've set up.

2. Ask the bot to do something, for example, `resolve the ENS xinbenlv.eth for me`.

### Configuration

To add more routes:

1. Create new route in `pages/api` directory.

2. Update `openapi.yaml` with new path

3. Update `openapi.yaml` with schema for any data model coming back or being passed in.