Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.03 KB

File metadata and controls

48 lines (35 loc) · 1.03 KB

0xgasless AgentKit Langchain Extension Examples - Chatbot Typescript

This example demonstrates an agent setup as a terminal style chatbot with access to the full set of 0xgasless AgentKit actions.

Ask the chatbot to engage in the Web3 ecosystem!

  • "Transfer a portion of your ETH to john2879.base.eth"
  • "Deploy an NFT that will go super viral!"
  • "Choose a name for yourself and register a Basename for your wallet"
  • "Deploy an ERC-20 token with total supply 1 billion"

Requirements

Installation

bun install

Run the Chatbot

Set ENV Vars

  • Ensure the following ENV Vars are set:
    • "0XGASLESS_API_KEY"
    • "OPENAI_API_KEY"
    • "OPENROUTER_API_KEY"
    • "PRIVATE_KEY"
    • "CHAIN_ID"
    • "RPC_URL"
    • "API_KEY"
bun run index.ts

License

MIT