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.
To create locally you need to:
- Sign up for OpenAI's developer platform and create an API KEY.
- Sign up for Syndciate's developer platform and create an API KEY.