Skip to content

Expose account public key on connect#193

Open
droplister wants to merge 1 commit into
lp-asset-balance-pool-actionsfrom
lp-connect-account-pubkey
Open

Expose account public key on connect#193
droplister wants to merge 1 commit into
lp-asset-balance-pool-actionsfrom
lp-connect-account-pubkey

Conversation

@droplister
Copy link
Copy Markdown
Member

Summary

  • adds a rich account object to xcp_requestAccounts responses
  • includes publicKey and xOnlyPublicKey for the active connected account
  • keeps xcp_accounts unchanged as a string[] compatibility method
  • avoids exposing path, xpub, private key, mnemonic, or all addresses

Verification

  • npx.cmd vitest run src/services/tests/providerService.test.ts src/services/tests/providerService.security.test.ts

Note: npm.cmd run compile is currently blocked by unrelated existing D1 type errors in apps/api/src/indexer/pools.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant