-
Notifications
You must be signed in to change notification settings - Fork 56
feat: passkey support in explorer #325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
o-az
wants to merge
354
commits into
main
Choose a base branch
from
o-az/explorer-passkey
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🚀 Deploying o-az/explorer-passkey with ⚡ Cloudflare Pages
|
d878cea to
24f3106
Compare
555cc6f to
80276b4
Compare
- Add nonce events (NonceIncremented, ActiveKeyCountChanged) - Add feeAmm events (Mint, Burn, RebalanceSwap, FeeSwap) - Add new tip20 events (Approval, BurnBlocked, TransferPolicyUpdate, NextQuoteTokenSet, QuoteTokenUpdate, RewardCanceled, RewardRecipientSet, RoleAdminUpdated) - Add a demo for each supported event (/demo/tx) - Update lib/token-metadata to allow checksum or non-checksum addresses to be used. - Update tempo.ts to 0.5
* feat: fee breakdown on receipt view * chore: match figma * fix: loader returned items * chore: vertical gap * chore: ui tweak * chore: ui tweak * chore: lower case address when comparing
* feat: global blocks route * chore: remove duplicate block view * chore: improve pagination component * chore: improve mobile layout * feat: live updating timestamp * chore: table footer mobile layout * chore: preserve search param on navigation * fix: SSR 1st page * chore: ui tweak
* chore: block route layout * chore: rm duplicate info
* feat: row links + datagrid Sections export useSectionsMode(), allowing children to know the current mode. The data table part got extracted into a new DataGrid component. DataGrid uses CSS grid rather than tables, allowing relative positioning which is used for the row links. Also: - Fix pagination disabled state. - Update `press-down` utility to exclude `aria-disabled` elements. - Various UI tweaks. * checks
* add demo/account Also: - Remove the hover effect on the time link since it links to the same URL as the entire row. - Remove the tx hash link since the full row acts as one. * DataGrid: multiline event descriptions - Support multiline cells in DataGrid. - Use them for multiline event descriptions. - Color updates. - Styling tweaks. * checks
- Rename `token-metadata.ts` to `tip20.ts`. - Add `Tip20.isTip20Address()`. - Update ExploreInput usages to route TIP-20 addresses to `/token/$address`.
- delete `/api/token/$address` route that was not called anymore. - remove the `fetchTokenMetadata` server function.
- Add `stripSearchParams` middleware to prevent default query params from appearing in URLs. - Replace `rowsPerPage` references with `defaultSearchValues.limit` for consistency.
- Add `contextual` prop to `Sections` for header context. - Add `?a=0x...` query param to filter token transfers by address. - Holder row clicks now navigate to filtered transfers view. Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
* chore: /account => /address * wrong quotes + missing /address * formatting * update demo path too * dev script: enable the demo screens
* tweak package.json * feat: use feePayer handler in sponsor service * tweak * fix * fix * undo port change * chore: up tempo.ts --------- Co-authored-by: Steven Truong <struong@users.noreply.github.com> Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
* chore: fee payer tweaks * chore: tweaks * chore: up deps
* feat: tokens screen + pagination improvements - Add `/tokens` route with token listing from IndexSupply API. - Add `Pagination.Simple` for compact controls (/blocks + /tokens). - Add `Pagination.Count`. - Use the pagination components on /blocks. - Various other tweaks. * syntax
* feat: make tokens-index chain-relative - Update `generate-tokens-index.ts` to accept chain ID (or `all`). - Generate separate index files per chain. - Update search API to select token index based on active chain. - Update `.gitattributes` and `biome.json` for new file patterns. Also: - Fix search dropdown visibility on home screen. * checks * checks
* DataGrid: allow custom pagination labels * coding style * feat: /blocks tweaks - Use DataGrid and Sections (+ remove horizontal scroll on smaller viewports). - Change pagination from page-based to block-number-based (stable URLs). - Move the live / paused indicator to the top. - Add pause-on-hover & focus. - Update blocksQueryOptions to accept start block number. - Remove explicit live param from Pagination search links.
* ExploreInput: wide mode * Header: always show the search field & adapt to viewport
- Fix scrollbar flash during home animation. - Input & spotlight links are now interactive only once their anim starts. - Dropdown menu stays closed after selecting an item. - Dropdown addresses expand to fill the available space.
Add default values in destructuring to prevent 'Cannot read properties of undefined (reading map/length)' errors when transactions data is undefined during loading states. Amp-Thread-ID: https://ampcode.com/threads/T-019ba79c-6e5b-7449-81af-3ad5fadd4e52 Co-authored-by: Emma Jamieson-Hoare <ejamieson19@gmai.com> Co-authored-by: Amp <amp@ampcode.com>
* fix(explorer): use absolute URL for OG image Social media crawlers need the full URL to fetch OG images - relative paths don't work. Also added twitter:card and twitter:image to match what the dynamic pages already do. * fix: use configurable og:image URL - Use `OG_BASE_URL` from `#lib/og` for default og:image. - Add `/explorer` route to the og service serving static webp image. - Remove unused `og-explorer.png` from explorer public folder. * coding style --------- Co-authored-by: Pierre Bertet <hi@bpier.re>
* feat: make apps/og use webp * missing file * remove device pixel ratio * update metas: png => webp
* feat: explorer basic auth * coding style * coding style
* refactor: explorer env cleanup - remove hardcoded per-network URL arrays from `wagmi.config.ts` - add optional `_FALLBACK` variants for RPC URLs - simplify `TEMPO_RPC_KEY` to single var - move `VITE_CONTRACT_VERIFY_URL` and `VITE_OG_URL` to wrangler.jsonc - remove unused vars: `VITE_LOG_LEVEL`, `VITE_TEMPO_CHAIN_ID` - reorganize `.env.example` with comments and examples * checks / formatting * generate types on postinstall
* feat: posthog event instrumentation * add loader profiling and ttfb * remove unnecessary comments
* presto * url * missing files * tokens index * merge conflicts cleanup + forward rpc auth * fix RPC URL access on server + client - Use `createIsomorphicFn` for RPC URLs - Read wrangler.jsonc vars at build time via `jsonc-parser`
* chore: update presto rpc * update presto rpc
Convert 8 separate RPC calls (4 tokens * 2 calls: balanceOf + decimals) into a single multicall request in the address page head function. This reduces network waterfall and improves the SSR response time for address pages by batching all token balance queries into one RPC call. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* feat(fee-payer): instrument PostHog events * Update apps/fee-payer/src/lib/posthog.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update apps/fee-payer/src/lib/posthog.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * fix(fee-payer): move posthog timestamp to root level * fix(fee-payer): fix syntax error in posthog.ts * chore: rebase, pnpm check, fix build --------- Co-authored-by: Steven Truong <struong@users.noreply.github.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* perf(explorer): defer PostHog analytics initialization Wrap posthog.init() in requestIdleCallback (with setTimeout fallback) to defer analytics initialization until the browser is idle. This prevents analytics from blocking the initial render and reduces Total Blocking Time (TBT). The PostHog stub is still loaded synchronously to ensure event capture calls don't fail, but actual initialization is deferred. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Update apps/explorer/src/routes/__root.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
- Prefer main's changes for conflicting files - Remove passkey-related code that used tempo.ts (forbidden by AGENTS.md) - Fix validators query to use Abis.validatorConfig instead of Abis.validator - Add missing validators export to queries index - Remove stale /api/account routes (main uses /api/address) - Restore env.ts and abis.ts from main Amp-Thread-ID: https://ampcode.com/threads/T-019be94c-24b6-74f1-a705-5a84637c1f1f Co-authored-by: Amp <amp@ampcode.com>
829d1ae to
c5493e7
Compare
| // Try exact path first, then try matching by suffix (for Vyper absolute paths) | ||
| let compiledContract = | ||
| compileOutput.contracts?.[contractPath]?.[contractName] | ||
| let _matchedPath = contractPath |
| outputPath.endsWith(`/${contractPath}`) | ||
| ) { | ||
| compiledContract = compileOutput.contracts[outputPath]?.[contractName] | ||
| _matchedPath = outputPath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A few things needed for this to be mergable:
faucet support in explorer? simple. Currently I link to docs