MetaAccess
Introduction
Spec
AccessControl
{
"publicContent": "public part of content",//公开部分内容
"publicPins":["PINID-1", "PINID-2"],//公开部分文件
"publicPath": "/protocols/simplepublicbuzz",
"controlPins":["PINID1","PINID2"], //Array of PINs that will be in control of accessing
"controlPath": "/protocols/simpleasseccbuzz",//The pins which is in this path will be in control of accessing
"manDomain":"",//待定
"manPubkey":"THE-PUBKEY-OF-MAN", //Pubkey of the MAN node providing custody decryption services.
"creatorPubkey":"THE-PUBKEY-OF-CREATOR",//Pubkey of the creator
"encryptedKey":"Use the ECDH Key to Decrypt it and use that decryptedkey to decrypt the content",
"holdCheck":{//hold检查
"type":"mrc20" //"chainCoin" or "mrc20",
"ticker":"mc" //the ticker of mrc20;if type = chainCoin then it will be ignored
"amount":"1000"
},
"payCheck":{//pay检查
"type":"chainCoin", //"chainCoin" or "mrc20"
"ticker":"",
"amount":"0.00001",
"payTo":"address",
"validPeriod": "4320", //blocks,4320 means 1 month
},
}AccessPass
流程
ECDH 配置说明
对称加密配置 (AES)
Last updated