Repository navigation
PDC Companion extension-v0.1.15
·
10 commits
to dev
since this release
PDC Companion release notes
0.1.15
- JWT lifetime: access-token
expis 10 minutes (was 60s). - Secret rotation: 10 minutes after saving a Companion JWT secret, the
extension clears it and shows a system notification that a new key is
required for security — regenerate in Qt Settings → Pdc Companion and
paste into Options again.
0.1.14
- acceptSwapProposal: require
hex_raw_proposal, validate 64-hex
result_tx_id, and surface actionable errors when wallet RPC drops
(JWT/Companion GUI crash) instead of a bare network failure.
0.1.13
- Wallet switch → dApps: after popup Active wallet change, Companion
publishesaccountsChangedso Trade re-reads the active address (Take with
a second wallet no longer stuck on the maker JWT identity).
0.1.12
- Trade one-click Replace: Trade banner Replace extension writes the
published zip into the unpacked Companion folder (not zip-only download). - After replace, Trade asks the content script to
chrome.runtime.reload()so
the new build loads without a manual Reload when possible. - Silent auto-apply on Trade when the folder handle permission remains granted.
0.1.11
- Bridge for Trade-driven reload after file replace (
PDC_COMPANION_RELOAD).
0.1.10
- One-click Update: popup Update downloads the published zip and, via
the File System Access picker, writes it into the unpacked install folder,
then reloads the extension. The folder is remembered for silent auto-apply
on later versions when permission remains granted. - Fallback: Download zip if the picker is unavailable or cancelled.
0.1.9
- Update check: popup compares the installed manifest version with the
published latest signal (trade.privacydatacoin.com/companion/latest.json
and/api/companion/info). When older, shows a clear banner with a
download link. - Canonical latest metadata lives in
extension/latest.json(kept in sync
withmanifest.jsonvianpm run sync:companion-latest).
0.1.8
- Popup Balance (unlocked) lists native PDC plus every whitelisted CA
(e.g. BTCX) from walletgetbalance/assets_whitelist_get, with correct
decimals (PDC 12, BTCX 8).
0.1.7
- Multi-wallet: popup shows an Active wallet dropdown when the Qt GUI
has more than one wallet open (mw_get_wallets/mw_select_wallet). - Switching the dropdown updates which wallet Companion / dApps use.
0.1.6
- Auto-approve
https://trade.privacydatacoin.comin Approved dApps
(install, update, and on first RPC config read).
0.1.5
- Qt GUI Companion (port 19211): JWT auth via
Pdc-Access-Token
(HS256 +body_hash/salt/exp) — paste Secret from Pdc Settings. - Preset buttons for GUI 19211 vs simplewallet 19212; dedicated JWT secret field.
0.1.4
- Popup shows the configured RPC host:port (no more hardcoded “19212”).
- Clearer errors for HTTP 401 / unreachable; options hint: use simplewallet
19212, not Qt GUI Companion JWT port19211. - Settings: Test connection button; host permissions for all localhost ports.
0.1.3
- Fix stuck “Generating…”: stringify
BigIntbeforechrome.runtime.sendMessage
(JSON cannot serialize bigint → silent hang until timeout).
0.1.2
- Fix Ionic Swap generate: wrap RPC params as
{ proposal, destination_address }
(flat body leftfee_paid_by_a=0→WALLET_FEE_TOO_LOW/ stuck “Generating…”).
0.1.1
- Fix false “Wallet offline” when simplewallet is up: use PDC RPC names
(get_wallet_info,getaddress,getbalance) instead of Zano aliases. - Map
getbalance→ unlocked/locked for the popup. - Fix content script wiring: inject page-world
window.pdcExtensionso Trade
Connect Wallet can talk to the companion.
0.1.0
First public release of the PrivacyDataCoin wallet companion extension.
Downloads
| File | For |
|---|---|
pdc-companion-extension-v0.1.0.zip |
Chrome / Edge / Brave — load unpacked via chrome://extensions |
pdc-companion-extension-v0.1.0-firefox-src.zip |
Firefox — about:debugging → Load Temporary Add-on (manifest.json) |
SHA256SUMS.txt |
Integrity verification |
Highlights
window.pdcExtensionbridge protocol compatible with
@privacydatacoin/pdc_web3
(ExtensionBridge,detectExtension,connect, swap proposal methods).- Local wallet RPC relay (
simplewallet, default127.0.0.1:19212) —
keys never leave the wallet. - Per-origin dApp approval: balance / transfer / Ionic Swap methods require
explicit user approval; read-only info is public. - Popup with wallet status, address, unlocked balance (PDC dark theme).
- Options page for RPC credentials and approved dApps management.
Install
- Unzip the download.
- Chrome:
chrome://extensions→ Developer mode → Load unpacked →
select the unzipped folder. - Firefox:
about:debugging#/runtime/this-firefox→ Load Temporary Add-on…
→ selectmanifest.jsoninside the firefox src zip. - Start wallet RPC:
simplewallet --wallet-file … --rpc-bind-ip 127.0.0.1 --rpc-bind-port 19212 - Open Trade → approve
https://trade.privacydatacoin.comin Companion Settings.