bsocial-posts

majiayu000 的头像作者 majiayu000

创建和阅读 BSocial 协议(BSV 上的链上社交媒体)上的帖子。使用 BMAP(比特币映射协议)来处理结构化数据。

📖 中文导读:创建和阅读 BSocial 协议(BSV 上的链上社交媒体)上的帖子。使用 BMAP(比特币映射协议)来处理结构化数据。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: bsocial-posts description: Create and read posts on BSocial protocol (on-chain social media on BSV). Uses BMAP (Bitcoin Mapping Protocol) for structured data. allowed-tools: "Bash(bun:*)"

BSocial Posts

Create and read on-chain social media posts using BSocial protocol.

When to Use

  • Post messages to BSV blockchain
  • Read on-chain social posts
  • Create permanent, censorship-resistant content
  • Build social media applications

Features

Create Posts:

  • Text content posted on-chain
  • Permanent and immutable
  • Associated with BSV address/identity
  • Uses BMAP protocol structure

Read Posts:

  • Query posts by address
  • Filter by type/app
  • Read post history

Usage

# Create post (requires funding)
bun run /path/to/skills/bsocial-posts/scripts/create-post.ts <wif> "Post content here"

# Read posts from address
bun run /path/to/skills/bsocial-posts/scripts/read-posts.ts <address>

Protocol

Uses BMAP (Bitcoin Mapping Protocol):

  • OP_RETURN data with BMAP prefix
  • Structured JSON payload
  • Post content, timestamps, metadata
  • Indexable by BMAP API services

Requirements

  • Funded wallet for creating posts (on-chain storage cost)
  • BMAP API access for reading posts
  • bmap-api-types package for type definitions