carpemer / bclist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# bclist protocol

Summary:
  - Money button and any BSV wallet scan to submit the content to blockchain.
  - 2 level index for post.
  - Could submit long text post.
  - Tip any post author by scan or money button.
  - Full text search support.
  - UTF-8 character.
  - Comment feature.
  - Protocol follows the practice in http://bitcom.bitdb.network 
  - B:// supoort in post.

Post:
  Bitcom: 16anJBJHVxRmxf68LnWFWyvfcL2nSngkcf 
  Spec:
    OPRETURN
    Bitcom: 16anJBJHVxRmxf68LnWFWyvfcL2nSngkcf 
    Payload: content (markdown script)
    Index1: topic
    Index2: geo
    Index3: sender address. (The tx is generated by the proxy)
    Index4: reserved

  Babel live link:
  https://babel.bitdb.network/query/1DHDifPvtPgKFPZMRSxmVHhiPvFmxZwbfh/ewogICJ2IjogMywKICAicSI6IHsKICAgICJmaW5kIjogeyJvdXQuczEiOiIxNmFuSkJKSFZ4Um14ZjY4TG5XRld5dmZjTDJuU25na2NmIn0sCiAgICAibGltaXQiOiAxMAogIH0KfQ==

  Full text search support:
  https://bclist.cc/json_search?q=%E7%BE%8E%E5%9B%BD&t=bsv

  Request:
    - q: Query, support blank in the middle of multi search queries.
    - t: Topic, blank means search all topics.
  Reponse:
    - msg: Post Content.
    - hl: Search highlights.
    - tx: Transaction hash.
    - topic: Topic name.
    - blk: blk number, null means this transaction is in memory pool.

Comment:
  Bitcom: 1PfkPwPfZamZEeKuhtCpnZuY6hmkue9EgA
  Spec:
    OPRETURN
    BitCom: 1PfkPwPfZamZEeKuhtCpnZuY6hmkue9EgA
    Payload: content
    Index1: tx_id
    Index2: sender address. (The tx is generated by the proxy)
    Index3: reserved

  Babel live link:
  https://babel.bitdb.network/query/1DHDifPvtPgKFPZMRSxmVHhiPvFmxZwbfh/ewogICJ2IjogMywKICAicSI6IHsKICAgICJmaW5kIjogeyJvdXQuczEiOiIxUGZrUHdQZlphbVpFZUt1aHRDcG5adVk2aG1rdWU5RWdBIn0sCiAgICAibGltaXQiOiAxMAogIH0KfQ==

* The payload only contains readable content, all script will be removed and ignored.
* If the sender address field in POST is a valid address, It means the content belong to that specific address instead of the sender address.

About

License:Mozilla Public License 2.0