use manifest.json instead of loading init file for plugin registration
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = _('Audio MODEM')
|
||||
description = _('Provides support for air-gapped transaction signing.')
|
||||
requires = [('amodem', 'http://github.com/romanz/amodem/')]
|
||||
available_for = ['qt']
|
||||
|
||||
|
||||
6
electrum/plugins/audio_modem/manifest.json
Normal file
6
electrum/plugins/audio_modem/manifest.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"fullname": "Audio MODEM",
|
||||
"description": "Provides support for air-gapped transaction signing.",
|
||||
"requires": [["amodem", "http://github.com/romanz/amodem/"]],
|
||||
"available_for": ["qt"]
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = "BitBox02"
|
||||
description = (
|
||||
"Provides support for the BitBox02 hardware wallet"
|
||||
)
|
||||
requires = [
|
||||
(
|
||||
"bitbox02",
|
||||
"https://github.com/digitalbitbox/bitbox02-firmware/tree/master/py/bitbox02",
|
||||
)
|
||||
]
|
||||
registers_keystore = ("hardware", "bitbox02", _("BitBox02"))
|
||||
available_for = ["qt"]
|
||||
|
||||
7
electrum/plugins/bitbox02/manifest.json
Normal file
7
electrum/plugins/bitbox02/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "BitBox02",
|
||||
"description": "Provides support for the BitBox02 hardware wallet",
|
||||
"requires": [["bitbox02", "https://github.com/digitalbitbox/bitbox02-firmware/tree/master/py/bitbox02"]],
|
||||
"registers_keystore": ["hardware", "bitbox02", "BitBox02"],
|
||||
"available_for": ["qt"]
|
||||
}
|
||||
@@ -1,7 +1 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'Coldcard Wallet'
|
||||
description = 'Provides support for the Coldcard hardware wallet from Coinkite'
|
||||
requires = [('ckcc-protocol', 'github.com/Coldcard/ckcc-protocol')]
|
||||
registers_keystore = ('hardware', 'coldcard', _("Coldcard Wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
7
electrum/plugins/coldcard/manifest.json
Normal file
7
electrum/plugins/coldcard/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "Coldcard Wallet",
|
||||
"description": "Provides support for the Coldcard hardware wallet from Coinkite",
|
||||
"requires": [["ckcc-protocol", "github.com/Coldcard/ckcc-protocol"]],
|
||||
"registers_keystore": ["hardware", "coldcard", "Coldcard Wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'Digital Bitbox'
|
||||
description = _('Provides support for Digital Bitbox hardware wallet')
|
||||
registers_keystore = ('hardware', 'digitalbitbox', _("Digital Bitbox wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
6
electrum/plugins/digitalbitbox/manifest.json
Normal file
6
electrum/plugins/digitalbitbox/manifest.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"fullname": "Digital Bitbox",
|
||||
"description": "Provides support for Digital Bitbox hardware wallet",
|
||||
"registers_keystore": ["hardware", "digitalbitbox", "Digital Bitbox wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'Blockstream Jade Wallet'
|
||||
description = 'Provides support for the Blockstream Jade hardware wallet'
|
||||
#requires = [('', 'github.com/')]
|
||||
registers_keystore = ('hardware', 'jade', _("Jade wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
6
electrum/plugins/jade/manifest.json
Normal file
6
electrum/plugins/jade/manifest.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"fullname": "Blockstream Jade Wallet",
|
||||
"description": "Provides support for the Blockstream Jade hardware wallet",
|
||||
"registers_keystore": ["hardware", "jade", "Jade wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'KeepKey'
|
||||
description = _('Provides support for KeepKey hardware wallet')
|
||||
requires = [('keepkeylib','github.com/keepkey/python-keepkey')]
|
||||
registers_keystore = ('hardware', 'keepkey', _("KeepKey wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
7
electrum/plugins/keepkey/manifest.json
Normal file
7
electrum/plugins/keepkey/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "KeepKey",
|
||||
"description": "Provides support for KeepKey hardware wallet",
|
||||
"requires": [["keepkeylib", "github.com/keepkey/python-keepkey"]],
|
||||
"registers_keystore": ["hardware", "keepkey", "KeepKey wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
from electrum.i18n import _
|
||||
from electrum.commands import plugin_command
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
@@ -6,14 +5,6 @@ if TYPE_CHECKING:
|
||||
from .labels import LabelsPlugin
|
||||
from electrum.commands import Commands
|
||||
|
||||
|
||||
fullname = _('LabelSync')
|
||||
description = ' '.join([
|
||||
_("Save your wallet labels on a remote server, and synchronize them across multiple devices where you use Electrum."),
|
||||
_("Labels, transactions IDs and addresses are encrypted before they are sent to the remote server.")
|
||||
])
|
||||
available_for = ['qt', 'qml', 'cmdline']
|
||||
|
||||
plugin_name = "labels"
|
||||
|
||||
@plugin_command('w', plugin_name)
|
||||
|
||||
5
electrum/plugins/labels/manifest.json
Normal file
5
electrum/plugins/labels/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"fullname": "LabelSync",
|
||||
"description": "Save your wallet labels on a remote server, and synchronize them across multiple devices where you use Electrum. Labels, transactions IDs and addresses are encrypted before they are sent to the remote server.",
|
||||
"available_for": ["qt", "qml", "cmdline"]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'Ledger Wallet'
|
||||
description = 'Provides support for Ledger hardware wallet'
|
||||
requires = [('ledger_bitcoin', 'github.com/LedgerHQ/app-bitcoin-new')]
|
||||
registers_keystore = ('hardware', 'ledger', _("Ledger wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
7
electrum/plugins/ledger/manifest.json
Normal file
7
electrum/plugins/ledger/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "Ledger Wallet",
|
||||
"description": "Provides support for Ledger hardware wallet",
|
||||
"requires": [["ledger_bitcoin", "github.com/LedgerHQ/app-bitcoin-new"]],
|
||||
"registers_keystore": ["hardware", "ledger", "Ledger wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = _('PayServer')
|
||||
description = 'run a HTTP server for receiving payments'
|
||||
available_for = ['cmdline']
|
||||
|
||||
5
electrum/plugins/payserver/manifest.json
Normal file
5
electrum/plugins/payserver/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"fullname": "PayServer",
|
||||
"description": "run a HTTP server for receiving payments",
|
||||
"available_for": ["cmdline"]
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
fullname = _('PSBT over Nostr')
|
||||
description = ' '.join([
|
||||
_("This plugin facilitates the use of multi-signatures wallets."),
|
||||
_("It sends and receives partially signed transactions from/to your cosigner wallet."),
|
||||
_("PSBTs are sent and retrieved from Nostr relays.")
|
||||
])
|
||||
author = 'The Electrum Developers'
|
||||
#requires_wallet_type = ['2of2', '2of3']
|
||||
available_for = ['qt']
|
||||
version = '0.0.1'
|
||||
|
||||
7
electrum/plugins/psbt_nostr/manifest.json
Normal file
7
electrum/plugins/psbt_nostr/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "PSBT over Nostr",
|
||||
"description": "This plugin facilitates the use of multi-signatures wallets. It sends and receives partially signed transactions from/to your cosigner wallet. PSBTs are sent and retrieved from Nostr relays.",
|
||||
"author": "The Electrum Developers",
|
||||
"available_for": ["qt"],
|
||||
"version": "0.0.1"
|
||||
}
|
||||
@@ -1,9 +1,2 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = _('Revealer Backup Utility')
|
||||
description = ''.join(["<br/>",
|
||||
"<b>"+_("Do you have something to hide ?")+"</b>", '<br/>', '<br/>',
|
||||
_("This plug-in allows you to create a visually encrypted backup of your wallet seeds, or of custom alphanumeric secrets."), '<br/>'])
|
||||
available_for = ['qt']
|
||||
|
||||
|
||||
|
||||
5
electrum/plugins/revealer/manifest.json
Normal file
5
electrum/plugins/revealer/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"fullname": "Revealer Backup Utility",
|
||||
"description": "<br/><b>Do you have something to hide ?</b><br/><br/>This plug-in allows you to create a visually encrypted backup of your wallet seeds, or of custom alphanumeric secrets.<br/>",
|
||||
"available_for": ["qt"]
|
||||
}
|
||||
@@ -1,8 +1 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'Safe-T mini Wallet'
|
||||
description = _('Provides support for Safe-T mini hardware wallet')
|
||||
requires = [('safetlib','github.com/archos-safe-t/python-safet')]
|
||||
registers_keystore = ('hardware', 'safe_t', _("Safe-T mini wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
|
||||
7
electrum/plugins/safe_t/manifest.json
Normal file
7
electrum/plugins/safe_t/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "Safe-T mini Wallet",
|
||||
"description": "Provides support for Safe-T mini hardware wallet",
|
||||
"requires": [["safetlib", "github.com/archos-safe-t/python-safet"]],
|
||||
"registers_keystore": ["hardware", "safe_t", "Safe-T mini wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = _('SwapServer')
|
||||
description = """
|
||||
Submarine swap server for an Electrum daemon.
|
||||
|
||||
Example setup:
|
||||
|
||||
electrum -o setconfig enable_plugin_swapserver True
|
||||
electrum -o setconfig swapserver_port 5455
|
||||
electrum daemon -v
|
||||
|
||||
"""
|
||||
|
||||
available_for = ['cmdline']
|
||||
|
||||
5
electrum/plugins/swapserver/manifest.json
Normal file
5
electrum/plugins/swapserver/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"fullname": "SwapServer",
|
||||
"description": "Submarine swap server for an Electrum daemon.\n\nExample setup:\n\n electrum -o setconfig enable_plugin_swapserver True\n electrum -o setconfig swapserver_port 5455\n electrum daemon -v\n\n",
|
||||
"available_for": ["cmdline"]
|
||||
}
|
||||
@@ -1,8 +1 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = 'Trezor Wallet'
|
||||
description = _('Provides support for Trezor hardware wallet')
|
||||
requires = [('trezorlib','pypi.org/project/trezor/')]
|
||||
registers_keystore = ('hardware', 'trezor', _("Trezor wallet"))
|
||||
available_for = ['qt', 'cmdline']
|
||||
|
||||
|
||||
7
electrum/plugins/trezor/manifest.json
Normal file
7
electrum/plugins/trezor/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "Trezor Wallet",
|
||||
"description": "Provides support for Trezor hardware wallet",
|
||||
"requires": [["trezorlib","pypi.org/project/trezor/"]],
|
||||
"registers_keystore": ["hardware", "trezor", "Trezor wallet"],
|
||||
"available_for": ["qt", "cmdline"]
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = _('Two Factor Authentication')
|
||||
description = ''.join([
|
||||
_("This plugin adds two-factor authentication to your wallet."), '<br/>',
|
||||
_("For more information, visit"),
|
||||
" <a href=\"https://api.trustedcoin.com/#/electrum-help\">https://api.trustedcoin.com/#/electrum-help</a>"
|
||||
])
|
||||
requires_wallet_type = ['2fa']
|
||||
registers_wallet_type = '2fa'
|
||||
available_for = ['qt', 'cmdline', 'qml']
|
||||
|
||||
7
electrum/plugins/trustedcoin/manifest.json
Normal file
7
electrum/plugins/trustedcoin/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fullname": "Two Factor Authentication",
|
||||
"description": "This plugin adds two-factor authentication to your wallet.<br/>For more information, visit <a href=\"https://api.trustedcoin.com/#/electrum-help\">https://api.trustedcoin.com/#/electrum-help</a>",
|
||||
"requires_wallet_type": ["2fa"],
|
||||
"registers_wallet_type": "2fa",
|
||||
"available_for": ["qt", "cmdline", "qml"]
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
from electrum.i18n import _
|
||||
|
||||
fullname = _('Watchtower')
|
||||
description = """
|
||||
A watchtower is a daemon that watches your channels and prevents the other party from stealing funds by broadcasting an old state.
|
||||
|
||||
Example:
|
||||
|
||||
daemon setup:
|
||||
|
||||
electrum -o setconfig enable_plugin_watchtower True
|
||||
electrum -o setconfig watchtower_user wtuser
|
||||
electrum -o setconfig watchtower_password wtpassword
|
||||
electrum -o setconfig watchtower_port 12345
|
||||
electrum daemon -v
|
||||
|
||||
client setup:
|
||||
|
||||
electrum -o setconfig watchtower_url http://wtuser:wtpassword@127.0.0.1:12345
|
||||
|
||||
"""
|
||||
|
||||
available_for = ['cmdline']
|
||||
|
||||
5
electrum/plugins/watchtower/manifest.json
Normal file
5
electrum/plugins/watchtower/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"fullname": "Watchtower",
|
||||
"description": "A watchtower is a daemon that watches your channels and prevents the other party from stealing funds by broadcasting an old state.\n\nExample:\n\ndaemon setup:\n\n electrum -o setconfig enable_plugin_watchtower True\n electrum -o setconfig watchtower_user wtuser\n electrum -o setconfig watchtower_password wtpassword\n electrum -o setconfig watchtower_port 12345\n electrum daemon -v\n\nclient setup:\n\n electrum -o setconfig watchtower_url http://wtuser:wtpassword@127.0.0.1:12345\n\n",
|
||||
"available_for": ["cmdline"]
|
||||
}
|
||||
Reference in New Issue
Block a user