FEIP8V5_Declaration(en-US)



  • FEIP8: Declaration
    Version: 5
    Language: en-US
    Author: C_armX
    Status: draft
    Created date: 2021-06-18
    Last modified date:2021-06-18
    File hash: unknown
    Txid: Unpublished
    

    FEIP8V5_Declaration(en-US)

    Contents

    Introduction

    General rules of FEIP type protocols

    Rules specific to this protocol

    Register

    Unregister

    Introduction

    
    Protocol type: FEIP
    Serial number: 8
    Protocol name: Declaration
    Version: 5
    Description : Issue formal declarations on chain.
    Author: C_armX
    Language: en-US
    Tags: FEIP, declaration
    PreVersion hash:
    
    

    General rules of FEIP type protocols

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

    2. The max size of OP_RETURN : 4096 bytes

    3. Format : Json

    4. Encoding : utf-8

    Rules specific to 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.

    issue 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 hash hex 32 Sha256 value of this protocol file N
    6 data.decl string 1~3072 the content of declaration Y

    Example

    
    {
        "type": "FEIP",
        "sn": 8,
        "ver": 5,
        "name": "Declaration",
        "hash": "",
        "data":{
            "decl": "I accept donations from any one."
            }
    }
    

Log in to reply