Open
Conversation
…text - zh: use 发送方/接收方 (sender/receiver) instead of 发件人/收件人 (mail sender/recipient) for from/to fields - zh: use 金额 (amount) instead of 价值 (abstract value) for ETH transaction amounts - ja: use 金額 (amount) instead of 価値 (abstract value) for ETH transaction amounts - ja: use 勝者 (winner) instead of 優勝者 (champion) for RPC race winner
251 fix localhost rpcs
Add super user mode auto-activation when accessing via the "super" subdomain (e.g., super.openscan.io). Add a persistent localStorage cache with LRU eviction for blockchain data when in super user mode, with configurable size limit (5-100MB) and a dedicated Settings section. Closes #240, closes #242
Add violet accent glow on navbar and footer borders, a "Super User" badge in the navbar, and violet styling on the active toggle button to provide clear visual feedback when super user mode is enabled.
feat(i18n): add Chinese Simplified, Japanese, and Portuguese (BR) translations
chore(claude): add no AI attribution rule
- Extend AIAnalysisType with bitcoin_transaction, bitcoin_block, and bitcoin_address to keep BTC prompts fully separate from EVM ones - Add power and regular PromptConfig entries for all three BTC types using UTXO/sat/fee-rate terminology; explicitly forbid gas/wei/Gwei - Wire three new builder functions and switch cases in buildPrompt - Derive language display names from SUPPORTED_LANGUAGES (src/i18n.ts) instead of a local hardcoded map so new languages auto-propagate
Add AI Analyzer support to all three Bitcoin detail pages, matching the existing EVM integration pattern (page-with-analysis layout): - BitcoinBlockDisplay: context includes height, hash, fees, reward, fee rates (avg/median), miner, coinbase message, input/output counts - BitcoinAddressDisplay: context includes address type, balance, UTXO count, tx count, genesis flag, and up to 10 recent txids - BitcoinTransactionDisplay: context includes UTXO inputs/outputs with addresses and values, fee in BTC, fee rate in sat/vB, coinbase/ witness/RBF flags, and size/vsize/weight Cache keys follow the openscan_ai_bitcoin_<type>_<networkId>_<id> pattern, differentiating mainnet vs testnet results.
- New /rpcs page with network dropdown (EVM + Bitcoin), sortable table (provider, latency, status, privacy), and one-click "Add" to config - Latency test via eth_blockNumber (EVM) / getblockcount (Bitcoin) using JSON-RPC 2.0, batched in parallel groups of 6 with 10s timeout - Status dots: green (online), red (offline), yellow (timeout), pulsing gray (pending); offline endpoints always sort last on latency column - Active row highlight for endpoints already in user RPC config - Full i18n support (en/es) with new rpcs namespace - Add "Test RPCs" button in Settings → RPC Endpoints section linking to the new page - Mobile responsive layout
…utton Display the block number returned by each RPC endpoint so users can easily identify which providers are up to date. Remove the redundant "Active" badge and "Add" button since endpoints are managed in settings. Center all non-provider columns for better readability.
… quality Tests all configured RPCs in parallel and reorders them by privacy tier (open source > closed source > tracking) then latency, pushing offline endpoints to the end. Auto-saves the new order after sync completes.
feat(rpcs): add RPCs page for testing and comparing RPC endpoints
…o feat/improve-super-user-mode # Conflicts: # src/components/pages/settings/index.tsx
…tail pages Wire usePersistentCache into EVM and Bitcoin block/transaction pages to check localStorage before making RPC calls and save immutable data after fetching. Pending/unconfirmed transactions are not cached. Latest block requests skip cache check but cache the result under the resolved number.
feat(super-user): auto-activate via subdomain and add persistent cache
…t data Event logs section is now collapsed by default with a toggle button, reducing visual clutter for transactions with many events. Moved the section above input data for better information hierarchy.
…rLogo Add explicit type parameters to extractData calls in AddressTransactionSearch to fix 18 type errors on untyped tx/block/receipt objects. Add vite/client types to tsconfig.json to resolve import.meta.env type error in NavbarLogo.
|
🚀 Preview: https://pr-264--openscan.netlify.app |
feat(bitcoin): Add AI Analyzer to Bitcoin transaction, block, and address pages
235 token fetch lodaing
Move Gemini API key from URL query parameter to x-goog-api-key header to prevent exposure in browser history, server logs, and network monitoring tools.
Add @tanstack/react-query as an explicit dependency since wagmi declares it as a peer dependency and it is used directly in src/index.tsx.
Replace runtime require('viem') calls with top-level ES6 imports for
keccak256, toBytes, and decodeEventLog to align with bundler
expectations and maintain consistent module system usage.
Replace all browser alert() calls in ContractInteraction and AddressDetails with the existing useNotify hook. Add i18n translation keys for contract interaction messages in all 5 supported languages.
Add comments on dangerous-direct-browser-access
ci(audit): add npm audit workflow for PRs to dev and main
226 fixes
feat(transaction): make event logs collapsible
fix(types): resolve typecheck errors in AddressTransactionSearch and NavbarLogo
12 tasks
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
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.
No description provided.