Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.27 KB

FEIP0001.md

File metadata and controls

48 lines (37 loc) · 1.27 KB

FEIP0001

Introdction

FEIP defines the ID and LABELs of a user from Freecash ecology.

Protocol

Name Type Length Content
Protocol type bytes 4 0x46,0x45,0x49,0x50 (The HEX of "FEIP")
Protocol number bytes 4 0x30,0x30,0x30,0x31 (The HEX of "0001")
Version bytes 2
Operation bytes 2 the first version is: 0x30,0x30
Nickname bytes 1-16
Labels bytes 0-200 Begins with '0x23',can be multiple

Operation

Name Code Description
Uegister/Update 00 register or Update the ID for a user
Unregister 01 Unregister the ID for a user

FEIP0001 OP_RETURN Example

Register an ID for a user:

FEIP00010000Deisler-JJ#Developer 
FEIP00010000Otto#Tech manager#Developer@Freecash First Foundation

Unregister the ID for a user:

FEIP00010001

Recommended presentation format in Apps

Deisler-JJ@Ly6j

Ly6j is the last four characters of the input address of FEIP0001 transaction.

Transaction Protocol

Send at least 0.01 FCH to address FCidzzzzzzzzzzzzzzzzzzzzzzzzwZWbWK.

The FCH in FCidzzzzzzzzzzzzzzzzzzzzzzzzwZWbWK will be destroyed,because no one knows the private key.

Note

If there are more than one inputs in the FEIP0001 transaction,the address of First input will be bound to the Nickname.