Skip to content

azf20/hello-world-computer

Repository files navigation

Hello World Computer

Description

Hello World Computer is a chat-based onboarding experience. Newcomers to Ethereum can claim starter packs, which entitle them to a small Ethdrop to cover gas fees, a choice of NFTs, an ERC20 token (FLAUNCHY or AERO) to get started with Defi, and a basename all of their own!

Chatting through natural language, enhanced with interactive components, this is an enriched an helpful way to get started with Ethereum!

Meanwhile, Ethereum OGs can buy starter packs which are made available to newcomers as gifts!

How it's made

hello-world-computer.vercel.app/

Stack

We used:

  • OpenAI LLM
  • Vercel ai-sdk
  • Agentkit for action orchestration
  • Forked Vercel's AI Chatbot
  • Onchainkit for web3 login & displaying some components
  • Privy server wallets for agent onchain actions

We built:

  • Custom web3 login for Vercel's AI chatbot - next-auth compatible, powered by SIWE (backend session auth)
  • Leveraged the latest structured model outputs from the ai-sdk to provide interactive in-chat experiences
  • AI-SDK <-> Agentkit tool wrapper
  • Privy Wallet provider for Agentkit coinbase/agentkit#242
  • component from onchainkit to support EOAs coinbase/onchainkit#1937
  • Basename creation & transfer action provider
  • Gnosis safe creation & transaction action provider
  • Zora NFT minting provider
  • Custom Alchemy token balances action provider
  • Custom interactive components in-chat (options, asking for help, connecting wallet, checkout)
  • Coinbase Checkout lifecycle & backend purchase verification
  • Simple memory solution for the agent across user chats

Development

Requirements:

  • Node 22
  • pnpm
  • Postgres
pnpm install

Set up environment variables:

cp .env.example .env
# Edit the .env file with your own values

Run the development server:

pnpm drizzle-kit push
pnpm dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •