Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,40 @@
"$ref": "#/components/schemas/bytes"
}
}
},
{
"name": "eth_getPlumeSignature",
"tags": [
{
"$ref": "#/components/tags/Metamask"
}
],
"summary": "Generates the plume signature and necessary proof signals.",
"description": "Requests that MetaMask generates the plume signature and necessary proof signals.",
"params": [
{
"name": "Message",
"required": true,
"description": "A message to generate ",
"schema": {
"type": "string"
}
},
{
"name": "Address",
"required": true,
"description": "The address of the requested signing account",
"schema": {
"$ref": "#/components/schemas/address"
}
}
],
"result": {
"name": "PlumeResult",
"schema": {
"$ref": "#/components/schemas/PlumeResponse"
}
}
}
],
"components": {
Expand Down Expand Up @@ -533,6 +567,35 @@
"items": {
"$ref": "#/components/schemas/Permission"
}
},
"PlumeResponse": {
"type": "object",
"properties": {
"plume": {
"description": "The deterministic signature generated for the given message, also a public input to the proof.",
"$ref": "#/components/schemas/bytes"
},
"s": {
"description": "Private input to the proof.",
"$ref": "#/components/schemas/bytes"
},
"c": {
"description": "Private input to the proof.",
"$ref": "#/components/schemas/bytes"
},
"gPowR": {
"description": "Private input to the proof.",
"$ref": "#/components/schemas/bytes"
},
"hashMPKPowR": {
"description": "Optional private output to the proof.",
"$ref": "#/components/schemas/bytes"
},
"publicKey": {
"description": "Optional private output to the proof.",
"$ref": "#/components/schemas/bytes"
}
}
}
},
"tags": {
Expand Down