Inspiration

We were inspired by the growing interest in Bitcoin ordinals, the need for user-friendly wallet automation, and the potential of AI assistants like Claude to make blockchain technology more accessible. We wanted to create a bridge between advanced Bitcoin Core features and natural language interfaces, enabling anyone to interact with the Bitcoin network and ordinals using simple chat commands.

What it does

Chat2Ord is an MCP (Model Context Protocol) server that connects Bitcoin Core and the ordinals protocol to AI chatbots like Claude. It allows users to:

  • Query blockchain data (blocks, fees, network info)
  • Check wallet balances and transaction history
  • Send Bitcoin with fee confirmation and safety prompts
  • Inscribe text or images as ordinals, with dry-run fee estimation and confirmation
  • Upload and compress images for ordinal inscriptions All of this is accessible through natural language chat, making advanced Bitcoin operations as easy as chatting with an AI.

How we built it

This project is built using Python. We created a custom MCP server that wraps Bitcoin Core's bitcoin-cli and the ord tool for ordinals. The server exposes a set of tools (APIs) for blockchain queries, wallet operations, and ordinal inscriptions. We connected the MCP server to Claude Desktop, allowing users to interact with their Bitcoin node and wallet through a conversational interface. The chatbox we used was Claude.

Challenges we ran into

  • Integrating with Bitcoin Core and handling its various RPC quirks
  • Ensuring safe wallet operations (e.g., always prompting for confirmation before sending funds or inscribing)
  • Handling image uploads, validation, and compression for ordinal inscriptions
  • Making the server robust to errors and providing clear feedback to users
  • Ensuring cross-platform compatibility (Windows, Linux, macOS)

Accomplishments that we're proud of

  • Seamless integration between Bitcoin Core, ordinals, and an AI chat interface
  • User-friendly, confirmation-based workflow for sending Bitcoin and inscribing ordinals
  • Support for both text and image inscriptions, including automatic image compression
  • Making advanced Bitcoin features accessible to non-technical users via chat

What we learned

  • The importance of user safety and clear confirmations in wallet automation
  • How to bridge traditional command-line tools with modern AI interfaces
  • Best practices for error handling and user feedback in conversational agents
  • The technical details of Bitcoin ordinals and the challenges of image handling on-chain

What's next for Chat2Ord

  • Add support for more advanced ordinal features (collections, transfers, etc.)
  • Integrate with additional AI assistants and chat platforms
  • Improve security and add multi-user support
  • Build a web dashboard for visualizing inscriptions and wallet activity
  • Open source the project and invite community contributions

Built With

Share this project:

Updates