Skip to content

feat: add access keys list & revoke section to playground#96

Open
bpierre wants to merge 4 commits intomainfrom
bpierre/playground-access-keys
Open

feat: add access keys list & revoke section to playground#96
bpierre wants to merge 4 commits intomainfrom
bpierre/playground-access-keys

Conversation

@bpierre
Copy link
Copy Markdown
Member

@bpierre bpierre commented Apr 2, 2026

Summary

  • Adds a new section in the playground to list, inspect, and manage access keys
  • Merges keys from the provider store (locally created, pending) with on-chain keys (via tidx indexer)
  • Per-key remove buttons + bulk "Clear Store" and "Revoke All On-Chain" actions
  • New /access-keys/:address worker endpoint querying tidx for KeyAuthorized/KeyRevoked events
  • Adds tidx.ts dependency and TIDX_BASIC_AUTH env var

Adds a new "Access Keys (list & revoke all)" section that merges keys
from the provider store (locally created) and on-chain (via tidx indexer).
Each key shows its source (store/chain/both) and pending status, with
per-key remove buttons and bulk clear/revoke actions.

- New /access-keys/:address worker endpoint using tidx to query
  KeyAuthorized/KeyRevoked events
- TIDX_BASIC_AUTH env var for indexer authentication
- tidx.ts added as a playground dependency
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/tempoxyz/accounts@96

commit: 8f7c1c7

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Worker Preview
Wagmi https://fa6d4fd0-accounts-wagmi.porto.workers.dev

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Worker Preview
Playground https://873e4cbe-accounts-playground.porto.workers.dev

@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm posthog-js is 70.0% likely obfuscated

Confidence: 0.70

Location: Package overview

From: pnpm-lock.yamlnpm/posthog-js@1.364.6

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/posthog-js@1.364.6. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

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