Protocol


Protocol uses P2PKH addresses. Actions are saved using OP_RETURN.

Message data is UTF-8 encoded. For example, this action would set your name to "memo":

OP_RETURN 6d01 6d656d6f

Action Codes

Action Prefix Values Status Example
Set name 0x6d01
<name> (1-217 bytes)
Implemented Block Explorer
Post memo 0x6d02
<message> (1-217 bytes)
Implemented Block Explorer
Reply to memo 0x6d03
<tx_hash> (32 bytes)
<message> (1-184 bytes)
Implemented Block Explorer
Like / tip memo 0x6d04
<tx_hash> (32 bytes)
Implemented Block Explorer
Set profile text 0x6d05
<text> (1-217 bytes)
Implemented Block Explorer
Follow user 0x6d06
<address> (20 bytes)
Implemented Block Explorer
Unfollow user 0x6d07
<address> (20 bytes)
Implemented Block Explorer
Set profile picture 0x6d0a
<url> (1-217 bytes)
Implemented Block Explorer
Repost memo 0x6d0b
<tx_hash> (32 bytes)
<message> (0-184 bytes)
Planned -
Post topic message 0x6d0c
<topic_name> (1-214 bytes)
<message> (1-[214-len(topic_name)] bytes)
Implemented Block Explorer
Topic follow 0x6d0d
<topic_name> (1-214 bytes)
Implemented Block Explorer
Topic unfollow 0x6d0e
<topic_name> (1-214 bytes)
Implemented Block Explorer
Create poll 0x6d10
<poll_type> (1 byte)
<option_count> (1 byte)
<question> (1-209 bytes)
Implemented Block Explorer
Add poll option 0x6d13
<poll_tx_hash> (32 bytes)
<option> (1-184 bytes)
Implemented Block Explorer
Poll vote 0x6d14
<poll_tx_hash> (32 bytes)
<comment> (0-184 bytes)
Implemented Block Explorer
Mute user 0x6d16
<address_hash> (20 bytes)
Implemented Block Explorer
Unmute user 0x6d17
<address_hash> (20 bytes)
Implemented Block Explorer
Send money 0x6d24
<address_hash> (20 bytes)
<message> (1-194 bytes)
Implemented Block Explorer
Sell tokens
Spec
0x6d30
<input/output_1>
...
<input/output_n>
Implemented Block Explorer
Token buy offer
Spec
0x6d31
<list_sale_hash> (30 bytes)
<input/output_1>
...
<input/output_n>
Implemented Block Explorer
Attach token sale signature
Spec
0x6d32
<sale_offer_hash> (30 bytes)
<signature_1> (72 bytes)
<input/output_n> (72 bytes)
Implemented Block Explorer
Pin token post 0x6d35
<post_tx_hash> (30 bytes)
<token_utxo_hash> (30 bytes)
<token_utxo_index> (1 byte)
Implemented Block Explorer
Link request 0x6d20
<address_hash> (20 bytes)
<message> (1-194 bytes)
Implemented
Link accept 0x6d21
<request_tx_hash> (30 bytes)
<message> (1-184 bytes)
Implemented
Link revoke 0x6d22
<accept_tx_hash> (30 bytes)
<message> (1-184 bytes)
Implemented
Set address alias 0x6d26
<address_hash> (20 bytes)
<alias> (1-194 bytes)
Implemented

Additional actions being considered:

  • Tagging users in posts
  • Issue and revoke delegated addresses
  • Dislike and/or flag posts/users

Note: Actions that have not been implemented are subject to change.