• FEIP8: Declaration
    Version: 5
    Language: en-US
    Author: C_armX
    Status: draft
    Create: 2021-06-18




    General rules of FEIP type protocols

    Rules specific to this protocol

    Make a declaration


    Protocol type: FEIP
    Serial number: 8
    Protocol name: Declaration
    Version: 5
    Description : Make declarations on chain.
    Author: C_armX
    Language: en-US
    Previous version PID:

    General consensus of FEIP type protocols

    1. Write important data in OP_RETURN for public witness under FEIP type protocols.

    2. The SIGHASH flag of all transaction inputs is ‘ALL’ (value 0x01).

    3. The max size of OP_RETURN : 4096 bytes.

    4. The format of the data in op_return: JSON.

    5. Encoding : utf-8.

    Consensus of this protocol

    1. Anyone can sign and publish an on-chain declaration.

    2. The content of the declaration is that the signer clearly agrees and is willing to bear corresponding responsibilities.

    Make a declaration

    The OP_RETURN of which contains the data as follows:

    field number field name type length content required
    1 type String 4 Fixed: "FEIP"<br>Case insensitive Y
    2 sn int 1 Serial number<br>Fixed: 8 Y
    3 ver int 1 Fixed: 5 Y
    4 name String 11 Fixed: "Declaration"<br>Case insensitive N
    5 pid hex 32 Sha256 value of this protocol file N
    6 data.title string 1~256 the title of declaration N
    6 data.content string 1~3072 the content of declaration Y


        "type": "FEIP",
        "sn": 8,
        "ver": 5,
        "name": "Declaration",
        "pid": "",
            "title": "About Donation"
            "content": "I accept donations from any one."

Log in to reply