Crypto-Enabled GPT using Vercel AI SDK, Next.js, OpenAI, and Syndicate

This example shows how to use the Vercel AI SDK, Next.js, OpenAI, and Syndicate to create a crypto-enabled GPT chat bot that can send crypto transactions. In this example, the GPT is hiding a secret word, and if the player can correctly guess it, the GPT will send the player an NFT as a prize onchain.

Requirements

To create locally you need to:

  1. Sign up for OpenAI's developer platform and create an API KEY.
  2. Sign up for Syndciate's developer platform and create an API KEY.