ChatGPT Plugin for Ethereum and EVM dApp / smart contract functionalities
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
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.
git clone [email protected]:xinbenlv/ethgpt.git
cd ethgpt
yarn # or npm install, pnpm
yarn dev
# If you run this in dev mode, the memory may not persist well as the server will randomly restart sometimes
When prompted for your website domain, type in 'http://localhost:3000'
Go to ChatGPT and start a conversation with the bot you've set up.
Ask the bot to do something, for example, resolve the ENS xinbenlv.eth for me
.
To add more routes:
Create new route in pages/api
directory.
Update openapi.yaml
with new path
Update openapi.yaml
with schema for any data model coming back or being passed in.