FEIP6V6_Master(en-US)



  • FEIP6: Master
    Version: 6
    Language: en-US
    Author: C_armX
    Status: draft
    Created date: 2021-06-23
    Last modified date:2022-10-02
    PID: ""
    TXID: 
    

    FEIP6V6_Master(en-US)

    Contents

    Introduction

    General rules of FEIP type protocols

    Rules specific to this protocol

    OP RETURN

    Example of an authorition

    Introduction

    Protocol type: FEIP
    Serial number: 6
    Protocol name: Master
    Version number: 6
    Description : An address authorize another address as its master.
    Author: C_armX
    Language: en-US
    Previous version PID:"bcba4e28eb4c591a1fd1bce2108c2a220fc3a6d762eaca68bb15ca2cace22f5b"
    

    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. Once the master address is authorized, it can control all the rights and interests of the original address.

    2. An address can't authorize itself.

    3. The authorition can't be deauthorized.

    4. An address can only implement a valid master authorization once, and subsequent authorizations are invalid.

    OP_RETURN

    The OP_RETURN of which contains the data as follows:

    field number field name type length content required
    1 type String 4 Fixed: "FEIP" Y
    2 sn int 1 Fixed: 6 Y
    3 ver int 1 Fixed: 6 Y
    4 name string 6 Fixed: "Master" Y
    5 pid hex 32 Sha256 value of this file N
    6 data.master string 32 The address designated as the master. Y
    7 data.promise string 34 Fixed:"The master owns all my rights." Y

    Example of a authorition

    
    {
        "type": "FEIP",
        "sn": 6,
        "ver": 6,
        "name": "Master",
        "pid": ""
        "data":{
            "master":"FTqiqAyXHnK7uDTXzMap3acvqADK4ZGzts",
            "promise":"The master owns all my rights."
            }
    }
    


  • FEIP6: Master
    Version: 6
    Language: zh-CN
    Author: C_armX
    Status: draft
    Created date: 2021-06-23
    Last modified date:2022-10-02
    PID: ""
    TXID: 
    

    FEIP6V6_Master(en-US)

    Contents

    Introduction

    General rules of FEIP type protocols

    Rules specific to this protocol

    OP RETURN

    Example of an authorition

    Introduction

    Protocol type: FEIP
    Serial number: 6
    Protocol name: Master
    Version number: 6
    Description : An address authorize another address as its master.
    Author: C_armX
    Language: en-US
    Previous version PID:"bcba4e28eb4c591a1fd1bce2108c2a220fc3a6d762eaca68bb15ca2cace22f5b"
    

    General consensus of FEIP type protocols

    1. FEIP类型协议将重要信息通过OP_RETURN写入FCH主链获得全网见证.

    2. FEIP类型协议的所有输入的SIGHASH必须是“ALL”(值为 0x01),以便签名包含OP_RETURN.

    3. OP_RETURN最大为4096字节。

    4. 数据写入OP_RETURN的格式为:JSON.

    5. 数据编码为: utf-8.

    Consensus of this protocol

    1. 一个地址一旦声明授权一个master address,被授权的master address可以控制授权地址的所有权力和利益。

    2. 一个地址不能授权自身。

    3. 授权不能被取消。

    4. 一个地址只能做一次授权声明,此后的声明无效。

    OP_RETURN

    The OP_RETURN of which contains the data as follows:

    field number field name type length content required
    1 type String 4 Fixed: "FEIP" Y
    2 sn int 1 Fixed: 6 Y
    3 ver int 1 Fixed: 6 Y
    4 name string 6 Fixed: "Master" Y
    5 pid hex 32 Sha256 value of this file N
    6 data.master string 32 The FCH address designated as the master. Y
    7 data.promise string 34 Fixed:"The master owns all my rights." Y

    Example of a authorition

    
    {
        "type": "FEIP",
        "sn": 6,
        "ver": 6,
        "name": "Master",
        "pid": ""
        "data":{
            "master":"FTqiqAyXHnK7uDTXzMap3acvqADK4ZGzts",
            "promise":"The master owns all my rights."
            }
    }
    

Log in to reply