Bitcoin Schema

Schema Reference

Complete reference for all Bitcoin Schema types

Bitcoin Schema provides standardized data structures for Bitcoin applications, enabling limitless interoperability and collaborative networks.

Schema Categories

Social Actions

Core social interactions between users:

  • Like - Express positive sentiment about content
  • Follow - Create relationships between identities
  • Friend - Establish two-way relationships with encrypted communication

Content Publishing

Publishing and sharing content on-chain:

  • Post - Create new content using B protocol
  • Reply - Respond to existing content
  • Repost - Amplify existing content in new contexts

Messaging & Communication

Real-time messaging and chat functionality:

  • Message - Real-time chat content
  • Tags - Categorize and organize content
  • Attachments - Include media and files

Advanced Functionality

Advanced features for applications:

Generic Utilities

General-purpose schemas:

  • Payment - Payment tracking and content paywalls

Tokens

Token-related schemas:

  • Ord - Ordinals metadata schema for tokens and inscriptions

Protocol References

All Bitcoin Schema definitions use these standard protocols:

  • MAP - Magic Attribute Protocol: 1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5
  • AIP - Author Identity Protocol: 15PciHG22SNLQJXMoSUaWVi7WSqc7hCfva
  • B - B Protocol for content storage and media types
  • BAP - Bitcoin Attestation Protocol for identity management
  • BPP - Bitcoin Payment Protocol
  • 1Sat - Protocol for ordinals and token-related schemas

Implementation

For code examples and implementation guides, see: