@gvnrdao/dh-mcp 0.5.14 → 0.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/boundary.js +423 -96
- package/dist/connector-embed.js +574 -174
- package/dist/connector.js +574 -174
- package/dist/index.js +559 -168
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ paste-code) or a local encrypted keystore. Safe smart-account and delegation mod
|
|
|
62
62
|
| Network | Reads (public) | Reads (authenticated) | Writes |
|
|
63
63
|
|---|---|---|---|
|
|
64
64
|
| **sepolia** (default — the real protocol, practice money) | always, no setup | after a login: keystore env pair, or "connect my wallet" (`signer_setup`) | signer modes **keystore** and **external** (your own wallet). External-mode BTC withdrawal signs the SDK's bare auth hashes **blind** — same as the web app; the approval page says so loudly |
|
|
65
|
-
| **mainnet** (real money) | always (indexer gaps are reported honestly) | after a login (the broker throttles logins per address) | signer modes **keystore** and **external**, same as sepolia — every operation moves REAL funds behind your confirmation + signature
|
|
65
|
+
| **mainnet** (real money) | always (indexer gaps are reported honestly) | after a login (the broker throttles logins per address) | signer modes **keystore** and **external**, same as sepolia — every operation moves REAL funds behind your confirmation + signature. PSM swaps included: you must NAME the stablecoin (verified on-chain before signing), and the PSM contract's own caps, pause switches and reserves bound every swap |
|
|
66
66
|
| **mock** (`DH_ADAPTER=mock` — offline practice sandbox) | always | always | all modes, including the simulated Safe and delegation planes |
|
|
67
67
|
|
|
68
68
|
Signer modes `safe` and `safe-module` (Safe smart-account borrower, delegation) are
|
|
@@ -79,7 +79,9 @@ refuses legibly, and the user says "connect my wallet" (`signer_setup` action `c
|
|
|
79
79
|
- Every fund-moving call requires your explicit confirmation AND a real signature; the
|
|
80
80
|
card you sign is decoded from the exact transaction — never re-formatted.
|
|
81
81
|
- **Mainnet operations move real funds** — they run only behind your explicit
|
|
82
|
-
confirmation plus a real signature you approve
|
|
82
|
+
confirmation plus a real signature you approve. PSM swaps are no exception: they execute
|
|
83
|
+
on mainnet and move real USDC and UCD, with the named-and-on-chain-verified stablecoin
|
|
84
|
+
plus the PSM contract's own caps, pause switches and reserves as the bounds.
|
|
83
85
|
|
|
84
86
|
## What it solves
|
|
85
87
|
|
|
@@ -201,8 +203,10 @@ Bump deliberately, in lockstep with sibling packages, and run `npm ci` in CI.
|
|
|
201
203
|
Mainnet reads and writes both work out of the box. Every fund-moving operation still
|
|
202
204
|
requires the explicit human `confirmed: true` plus a real signature (wallet approval
|
|
203
205
|
card or keystore), and the network switch ceremony states the money reality loudly.
|
|
204
|
-
Review your host's approval flow and key management before using mainnet
|
|
205
|
-
|
|
206
|
+
Review your host's approval flow and key management before using mainnet. Mainnet PSM
|
|
207
|
+
swaps are enabled too: name the stablecoin (it is verified against the PSM's supported set
|
|
208
|
+
on-chain before anything is signed), and the contract's per-operation and per-block caps,
|
|
209
|
+
`paused` / `redeemEnabled` and live reserves still bound every swap.
|
|
206
210
|
|
|
207
211
|
## For AI assistants
|
|
208
212
|
|