Dagur Valberg Johannsson
fbac14cd08
Merge branch 'redundant-relay' into 'master'
...
Add additional default relay
See merge request riftenlabs/lib/wizardconnect!21
2026-04-14 07:03:50 +00:00
Dagur Valberg Johannsson
c8e0a2d7cc
Tests for 22601be4 (tcp zombie)
2026-04-14 08:42:34 +02:00
Dagur Valberg Johannsson
ef56fb198c
Add additional default relay
...
For improved reliability, this adds an additional relay as a redundancy.
2026-04-14 08:42:34 +02:00
Dagur Valberg Johannsson
f9da868513
Merge branch 'tcp-zombie' into 'master'
...
Detect stale tcp connections to relay
See merge request riftenlabs/lib/wizardconnect!20
2026-04-08 09:30:09 +00:00
Dagur Valberg Johannsson
a6e4a36db5
npm audit fix
2026-04-08 11:05:16 +02:00
Dagur Valberg Johannsson
22601be42d
Detect stale tcp connections to relay
...
Enable nostr-tools' internal stale tcp connection detection
2026-04-08 09:47:50 +02:00
Dagur Valberg Johannsson
4bcbef2aae
Merge branch 'nicer-react' into 'master'
...
Add session persistence and refactor dapp manager
See merge request riftenlabs/lib/wizardconnect!19
2026-04-03 15:15:26 +00:00
Dagur Valberg Johannsson
8cd22c34ba
Add session persistence and refactor dapp manager
...
Keep session persistance by default, such that when reloading a dapp,
the wizardconnect session is kept alive.
Improve signature request interface. Simplify the react API.
2026-04-03 17:11:18 +02:00
Dagur Valberg Johannsson
3af76d5653
Merge branch 'sleepingWizard' into 'master'
...
Dedup connection: conn.dappDiscovered = false;
See merge request riftenlabs/lib/wizardconnect!17
2026-04-03 12:35:50 +00:00
jakobsn
e852e70a8e
Dedup connection: conn.dappDiscovered = false;
2026-04-03 12:35:50 +00:00
Dagur Valberg Johannsson
077236969a
Merge branch 'resend-on-ready' into 'master'
...
Re-send signature request on ready
See merge request riftenlabs/lib/wizardconnect!18
2026-04-03 11:38:12 +00:00
Dagur Valberg Johannsson
3324cac4fb
npm audit fix
2026-04-03 13:22:40 +02:00
Dagur Valberg Johannsson
08ea3da6aa
Re-send signature request on ready
...
User may need some time to open their wallet to approve signature
request and miss it.
If we have a active request, re-send it if we see a
wallet_ready signal, suggesting the wallet was just opened.
2026-04-03 13:22:40 +02:00
Dagur Valberg Johannsson
72da1758b3
Merge branch 'bcr-stealth-naming' into 'master'
...
docs: standardize extension names to RPA and BCH Stealth Addresses
See merge request riftenlabs/lib/wizardconnect!16
2026-04-01 09:47:25 +00:00
CyberAshven
d1369f5867
docs: standardize extension names to BCR-agreed standard
...
Replace placeholder 'bip352' / 'bip47_rpa' with the finalized
extension names from the BCR post and BCH Stealth Protocol spec:
- bip352 → bch_stealth_bip352
- bip47_rpa → rpa_bip47
Add spend_path / scan_path fields to each extension handshake
object, pointing to the hardened gate paths where the wallet
exports xpubs. Dapps derive the non-hardened /0 child locally.
Add rpa_spend / rpa_scan path names alongside stealth_spend /
stealth_scan in all examples. Update known extensions table with
full path information and BCR reference links.
Spec: https://bitcoincashresearch.org/t/ecdh-stealth-addresses-on-bitcoin-cash-implementation-code/1773/5
I have read the CLA Document and I hereby sign the CLA
2026-03-28 22:39:34 +03:00
Dagur Valberg Johannsson
8b6a2e275f
Merge branch 'extensions' into 'master'
...
Add 'extensions' to hdwalletv1 protocol
See merge request riftenlabs/lib/wizardconnect!15
2026-03-26 12:43:05 +00:00
Dagur Valberg Johannsson
4d1ba8e207
Add 'extensions' to hdwalletv1 protocol
...
This backward compatible change allows wallets/dapps to add additional
features outside the basic transaction signature support to the
hdwalletv1 protocol.
2026-03-26 10:50:40 +01:00
Dagur Valberg Johannsson
40d5f218fe
npm audit fix
2026-03-26 08:56:48 +01:00
Dagur Valberg Johannsson
fcfcd64d14
Replace nostr-dev-kit -> nostr-tools
...
The package nostr-dev-kit was using a dependency (tseep) which
downstream would flag as not CSP-safe.
Additionally nostr-tools footprint is much smaller.
2026-03-26 08:46:26 +01:00
Dagur Valberg Johannsson
95bbf96065
Merge branch 'qr-dialog' into 'master'
...
QR dialog: Give "Copied!" feedback
See merge request riftenlabs/lib/wizardconnect!14
2026-03-23 08:27:38 +00:00
Dagur Valberg Johannsson
676512ea8d
QR dialog: Give "Copied!" feedback
...
Clicking anywhere on the URI row copies to clipboard (not just the icon).
Shows "Copied!" text for 2 seconds replacing the copy icon.
2026-03-23 09:26:18 +01:00
Dagur Valberg Johannsson
9593332525
Merge branch 'ser-helpers' into 'master'
...
Add serialization helpers to @wizardconnect/core
See merge request riftenlabs/lib/wizardconnect!13
2026-03-23 08:16:42 +00:00
Dagur Valberg Johannsson
889dd566d1
Add serialization helpers to @wizardconnect/core
...
Canonical encoding for BigInt (<bigint: Xn>) and Uint8Array (hex or
<Uint8Array: 0x...>) used in the relay protocol. Provides both
serialization (sourceOutputToRelay, transactionToHex) and deserialization
(parseExtendedJson, toUint8Array, toBigInt) so dapps and wallets
don't have to implement this independently.
2026-03-23 08:59:02 +01:00
Dagur Valberg Johannsson
a22d98a6b2
Merge branch 'doc-xpub' into 'master'
...
doc: An article on xpub sharing
See merge request riftenlabs/lib/wizardconnect!8
2026-03-23 07:45:38 +00:00
Dagur Valberg Johannsson
930f09a167
Merge branch 'session-path' into 'master'
...
Add proper auto-reconnect with @wizardconnect/react
See merge request riftenlabs/lib/wizardconnect!12
2026-03-23 07:44:43 +00:00
Dagur Valberg Johannsson
68581a4929
up to date, audited 269 packages in 1s
...
106 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2026-03-23 08:43:44 +01:00
Dagur Valberg Johannsson
acab94dc68
ci: Build before running tests
2026-03-23 08:43:00 +01:00
Dagur Valberg Johannsson
cb4f1ee598
bug: Pass pubkey to initiateRelay on reconnect
...
Pass the pubkey if we already know it.
2026-03-23 08:34:51 +01:00
Dagur Valberg Johannsson
8467856975
Persist xpub paths in session storage for offline pubkey derivation
...
The useWizardConnect hook now saves PathXpub[] from wallet_ready into
the localStorage session. On auto-reconnect, restoreSessionPaths() is
called so getPubkey() works immediately without waiting for the wallet.
Corrupt cached paths are cleared with a warning.
2026-03-23 08:32:17 +01:00
Dagur Valberg Johannsson
add06b6476
Add getSessionPaths() and restoreSessionPaths() to DappConnectionManager
...
Allows dapps to cache the raw PathXpub[] from wallet_ready and restore
them on subsequent page loads. restoreSessionPaths decodes the xpub strings
and populates pubkeyState so getPubkey() works without waiting for the
wallet to reconnect. Throws on invalid xpub data.
2026-03-23 08:26:12 +01:00
Dagur Valberg Johannsson
33c45596ef
Merge branch 'pkg-react' into 'master'
...
Add 'react' package with QR code and modal dialog
See merge request riftenlabs/lib/wizardconnect!11
2026-03-18 15:41:30 +00:00
Dagur Valberg Johannsson
45fd9f4cb5
Add 'react' package with QR code and modal dialog
...
Makes it easier for dapp developers to integrate WizardConnect and have
consistent user interface for it across dapps.
2026-03-18 16:34:41 +01:00
Dagur Valberg Johannsson
e2476626c2
Merge branch 'doc-sighash' into 'master'
...
Document SIGHASH_ALL requirement
See merge request riftenlabs/lib/wizardconnect!10
2026-03-18 09:36:10 +00:00
Dagur Valberg Johannsson
55ff82bbec
Document SIGHASH_ALL requirement
2026-03-18 10:31:06 +01:00
Dagur Valberg Johannsson
37cc29bcc0
Merge branch 'readme' into 'master'
...
Add README
See merge request riftenlabs/lib/wizardconnect!9
2026-03-17 13:57:08 +00:00
Dagur Valberg Johannsson
9b4f21676c
Add README
2026-03-17 14:55:27 +01:00
Dagur Valberg Johannsson
b40303c52a
doc: An article on xpub sharing
2026-03-17 14:47:04 +01:00
Dagur Valberg Johannsson
bc002551fb
Merge branch 'input-paths-2' into 'master'
...
Don't require input path for all inputs
See merge request riftenlabs/lib/wizardconnect!7
2026-03-16 15:57:48 +00:00
Dagur Valberg Johannsson
81a67825fe
Don't require input path for all inputs
...
Not all inputs need a signature; only require it for the input paths
that do.
2026-03-16 16:54:32 +01:00
Dagur Valberg Johannsson
6d4d8139f0
Merge branch 'input-paths' into 'master'
...
Add input paths for a signature request
See merge request riftenlabs/lib/wizardconnect!6
2026-03-16 14:29:38 +00:00
Dagur Valberg Johannsson
7388491784
npm audit fix
2026-03-16 15:27:18 +01:00
Dagur Valberg Johannsson
8ef04218b4
Add input paths for a signature request
...
This solves an issue where wallet has to scan address ranges for each
derivation path and match it to locking script to figure out what
private key to use for signature.
This is a waste of effort and unnecessary complex for wallet
implementations since the dapp side already knows what inputs its using.
2026-03-16 15:27:18 +01:00
Dagur Valberg Johannsson
67692cb004
Merge branch 'wallet-pubkey' into 'master'
...
Add wallet pubkey to existing session
See merge request riftenlabs/lib/wizardconnect!5
2026-03-10 17:35:11 +00:00
Dagur Valberg Johannsson
d3a1a36163
Add wallet pubkey to existing session
...
We need to also know the wallets pubkey if dapp is to connect to an
existing session.
2026-03-10 18:33:36 +01:00
Dagur Valberg Johannsson
0e54217929
Second attempt at trusted publishing
2026-03-09 17:05:45 +01:00
Dagur Valberg Johannsson
8d44745964
Merge branch 'ci-publish' into 'master'
...
ci: Force publish job to run on gitlab instances
See merge request riftenlabs/lib/wizardconnect!4
2026-03-09 15:12:41 +00:00
Dagur Valberg Johannsson
d464551d71
ci: Force publish job to run on gitlab instances
2026-03-09 16:09:48 +01:00
Dagur Valberg Johannsson
451b19c32d
Merge branch 'uri-to-key' into 'master'
...
Add uri to relay private key generation
See merge request riftenlabs/lib/wizardconnect!3
2026-03-09 14:38:24 +00:00
Dagur Valberg Johannsson
c681983883
Add uri to relay private key generation
...
Making private key deterministic allows for easy session restoration
2026-03-09 15:36:52 +01:00
Dagur Valberg Johannsson
ab55714f75
Merge branch 'switch' into 'master'
...
contrib: Add switch-version tool
See merge request riftenlabs/lib/wizardconnect!2
2026-03-06 14:49:39 +00:00