Skip to content

Release/v1.2.2-a#264

Open
AugustoL wants to merge 40 commits intodevfrom
release/v1.2.2-a
Open

Release/v1.2.2-a#264
AugustoL wants to merge 40 commits intodevfrom
release/v1.2.2-a

Conversation

@AugustoL
Copy link
Collaborator

No description provided.

MatiasOS and others added 22 commits February 23, 2026 20:40
…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
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.
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

🚀 Preview: https://pr-264--openscan.netlify.app
📝 Commit: 02842e5309c2d441e2f44302bb80af416ca4de33

@AugustoL AugustoL changed the title Release/v1.2.2 a Release/v1.2.2-a Feb 26, 2026
feat(bitcoin): Add AI Analyzer to Bitcoin transaction, block, and address pages
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.
MatiasOS and others added 12 commits February 26, 2026 17:12
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
feat(transaction): make event logs collapsible
fix(types): resolve typecheck errors in AddressTransactionSearch and NavbarLogo
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.

2 participants