70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "memona/signature",
|
|
"name": "Signature",
|
|
"version": "0.1.0",
|
|
"apiVersion": "0.1.0",
|
|
"description": "Open a WebDAV server as a folder, and sign the Markdown saved to it with an ENS name.",
|
|
"license": "MIT",
|
|
"entry": "plugin.wasm",
|
|
"networkHosts": ["*"],
|
|
"networkPorts": [],
|
|
"providers": [
|
|
{
|
|
"id": "signature",
|
|
"name": "Signed WebDAV",
|
|
"schemes": ["signed-webdav"],
|
|
"configFields": [
|
|
{
|
|
"key": "url",
|
|
"label": "Server address",
|
|
"description": "The folder's address, for example https://dav.example.com/files/",
|
|
"kind": "text",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "username",
|
|
"label": "Username",
|
|
"kind": "text",
|
|
"required": false
|
|
},
|
|
{
|
|
"key": "password",
|
|
"label": "Password",
|
|
"kind": "password",
|
|
"required": false
|
|
},
|
|
{
|
|
"key": "ensName",
|
|
"label": "Signer name",
|
|
"description": "The ENS name that signs saved Markdown, for example laptop.alice.eth",
|
|
"kind": "text",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "privateKey",
|
|
"label": "Signing key",
|
|
"description": "The private key of the address this name resolves to",
|
|
"kind": "password",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "rpcUrl",
|
|
"label": "Sepolia RPC address",
|
|
"description": "The Ethereum Sepolia endpoint used to check signers against ENS",
|
|
"kind": "text",
|
|
"required": false,
|
|
"default": "https://ethereum-sepolia-rpc.publicnode.com"
|
|
},
|
|
{
|
|
"key": "trustedParent",
|
|
"label": "Trusted parent name",
|
|
"description": "Only count signers that are this ENS name or one of its subnames, for example team.eth",
|
|
"kind": "text",
|
|
"required": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|