-
Notifications
You must be signed in to change notification settings - Fork 1
Add wallet/key management guidance for dApp use cases #2
Copy link
Copy link
Open
Description
Problem
wallet init --auto stores a private key in config — correct for CLI/agent use, but dApps need user wallet connection (MetaMask, WalletConnect), not server-side keys.
Details
privateKeyClient()inclient.tsreads from config — no guidance for dApp wallet patterns- human: I think maybe zooming out on how an agent can do this on behalf of the dApp and the limitations.
- Synapse React hooks (
useAccountInfo,useUpload,useDeposit) exist but aren't referenced in skills - Agents building dApps don't know whether to use the CLI wallet pattern or a browser wallet pattern
Ask
before implementation details, I think understanding what can or can't be done (I'm not clear myself) in terms of the dApp wallet set up (there will need to be human in the middle I think...)
Branch the skill/docs based on intent:
- Server-side / CLI / agent: current
wallet init --autoflow (keep as-is) - User-facing dApp: wallet connection via MetaMask/WalletConnect, Synapse React hooks, no server-side private key storage
This would help agents (and developers) pick the right wallet pattern for their use case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels