1
0

use manifest.json instead of loading init file for plugin registration

This commit is contained in:
f321x
2025-03-17 17:29:38 +01:00
parent 38f9cac48c
commit a9f8048251
35 changed files with 188 additions and 216 deletions

View File

@@ -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']

View 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"]
}

View File

@@ -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"]

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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)

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -1,5 +0,0 @@
from electrum.i18n import _
fullname = _('PayServer')
description = 'run a HTTP server for receiving payments'
available_for = ['cmdline']

View File

@@ -0,0 +1,5 @@
{
"fullname": "PayServer",
"description": "run a HTTP server for receiving payments",
"available_for": ["cmdline"]
}

View File

@@ -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'

View 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"
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}

View File

@@ -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']

View 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"]
}