Skip to content

merge#5

Open
hosein-ul wants to merge 58 commits into
feat/landing-redesignfrom
main
Open

merge#5
hosein-ul wants to merge 58 commits into
feat/landing-redesignfrom
main

Conversation

@hosein-ul

Copy link
Copy Markdown
Owner

update branch

hosein-ul added 23 commits June 23, 2026 12:08
Dynamic WrappersRegistry reads + bounty audit (Finding #1)
…hield on wrap

Analytics
- Rename getBlocksSinceMidnightUTC() → getBlocksSinceUtcMidnight() for clarity.
- Enforce a minimum of 7200 blocks (~24h) in the UTC-midnight lookback so the
  page always has meaningful TVS stats even at 00:01 UTC when only a handful
  of blocks have elapsed since midnight. Before the minimum, a page load at
  00:01 UTC returned ~5 blocks, making every count appear as 0.

Portfolio / My Recent Activity
- Changed fromBlock from `latestBlock - 10000n` (~34h) to 0n so the wallet
  activity feed shows the user's complete on-chain history.
- Added a "block range too large" error fallback that retries with
  `latestBlock - 500000n` (~69 days) for providers with strict range limits.
- Bumped display cap from 20 to 100 events.
- Updated empty-state copy: removed the stale "~34 hours" figure.

Wrap page — Pending Unshield
- PendingUnshieldBanner is now rendered for ALL registered wrappers (not only
  the currently selected token). Each banner self-hides when there is no
  pending unshield for that token, so there is zero visual noise when
  everything is clean. Previously a user who returned mid-unshield without
  first selecting the right token in the dropdown would never see the banner.
…unty references, and add architecture diagrams
…ty/wrap bugs

- Split official vs custom pairs everywhere (stat card, portfolio, wrap/transfer
  selectors) so locally-added pairs never mix into the on-chain registry count
- Accept any ERC-7984 token in Add Custom Pair (wrapper or confidential-only),
  fix false "already exists" collision on a second confidential-only token
- Fix wrap page resolving a custom pair's address to the wrong symbol/name
- Force per-row Decrypt to always issue its own permit request instead of
  silently reusing a stale batched value
- Rewrite Recent Activity: correct shield/unshield classification, full
  Blockscout-backed history, neutral color palette
- Fix wrap success modal to show token symbol instead of raw address, recolor
  from accent yellow to success green
- Replace em-dash section separators with plain labels
Sepolia's USDTMock deliberately replicates real USDT's non-standard
approve() — it reverts when setting a new non-zero allowance while a
non-zero allowance is already outstanding (verified via the deployed
contract source). The wallet's pre-flight simulation was correctly
rejecting this revert, blocking the Confirm button entirely.

Now zero the allowance first when one is already outstanding, then
approve the real amount. No-op extra step for standard ERC-20s that
don't have this restriction.
Added a new section showcasing Zama, Blockscout, and OpenZeppelin with:
- Brand logos (SVG) in public/brands/ — sourced from official brand-kit pages
- Zama card: #FFD208 gold background (per spec)
- Blockscout & OpenZeppelin: white background
- Each card links to partner's official website
- Positioned between FAQ and CTA sections on landing page
- Uses consistent BlurFade animation + grid layout

Logos: Zama wordmark (black), Blockscout icon+wordmark (blue), OpenZeppelin wordmark (black)
… Cases

- Remove Judging context/bounty Callout from docs overview
- Update Footer tagline: remove Season 3 mention, product-focused copy
- Replace SDK hooks docs page with Use Cases page (payroll, auctions,
  DAO treasury, front-run resistance, P2P payments, vesting)
- Delete sdk.tsx; add use-cases.tsx; update nav.ts + content/index.tsx
- Includes all prior session changes: activity feed fixes, registry
  pair cards, docs rewrite (16 pages), header cleanup, Steakhouse logo,
  PoweredBy section, Mock badge on all testnet tokens, logo to landing
- Mock badge: exclude tokens with Restricted in name from isMock
- Transfer modal amount: moved setAmount/setRecipient clear to modal onClose
  so the modal sees the correct sent amount (React batches state updates)
- Transfer card: Confidential gets cyan left border, Standard gets amber
Replace 3 tall glass cards with a single compact horizontal strip:
- 4 metrics: Wrapper Pairs, Active Network (glowing dot), ERC-7984, fhEVM/Zama
- Divider-separated, flex-wrap responsive
- Much less vertical space, DeFi protocol bar style
- Rename /app/wrap → /app/wrapper route (git mv); update all references
  across Header, Registry, Portfolio, Transfer, Learn, landing page, docs
- Nav label: Wrap → Wrapper
- Quickstart docs: rewrite from SDK integration guide to ShadowLine user
  guide (connect wallet → browse registry → shield → transfer → decrypt)
- Docs eyebrow color: var(--accent) gold → var(--text-muted) neutral
- Docs prose links: remove gold color; use text-primary + underline instead
- Addresses page: remove useListPairs reference; clarify snapshot is partial
…ugin.json), agent tools SDK, and drop-in React hook
@netlify

netlify Bot commented Jul 5, 2026

Copy link
Copy Markdown

Deploy Preview for shadow-line ready!

Name Link
🔨 Latest commit 0a681b6
🔍 Latest deploy log https://app.netlify.com/projects/shadow-line/deploys/6a4e266ec679680008a1520a
😎 Deploy Preview https://deploy-preview-5--shadow-line.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

hosein-ul added 6 commits July 6, 2026 00:43
…cker self-hosting, and DevOps launcher

Implements cross-platform setup script (scripts/setup.js), Ubuntu Linux quick installer (scripts/setup.sh), Dockerfile, docker-compose.yml, and updates QuickStart documentation.
…automatic Git and Node.js prerequisite installation via winget
…or case-sensitivity, root/non-root sudo, curl availability, and child_process spawn
hosein-ul added 4 commits July 6, 2026 08:31
Updated README to clarify the handling of balances and transfer amounts as ERC-7984 confidential tokens, and revised the description of the on-chain Wrappers Registry.
…r artworks

- Implement user-friendly error messages for wallet rejections & cancellations across app

- Exclude custom non-underlying tokens from testnet Faucet

- Create modern TokenSelect UI component with search and category filtering

- Add light glassmorphism visual decor 3D artworks to landing page Hero and banners

- Verify Zero-Hallucination compliance across llms.txt and agent-tools.ts
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shadow-line Ready Ready Preview, Comment Jul 8, 2026 10:29am

hosein-ul added 2 commits July 8, 2026 09:55
- Update TRUST marquee: 'OpenZeppelin Audited' → 'OpenZeppelin Contracts'
- Update hero pill: 'Zama Coprocessor verified' → 'Zama FHEVM Powered'
- Fix Registry description: clarify Mainnet is coming soon, only Sepolia live
- Fix Faucet description: remove WBTC (not available)
- Fix Learn description: remove reward claim (not implemented)
- Update Partners header: 'Verified Web3 Standards' → 'Trusted Web3 Infrastructure'
- Update partner descriptions:
  - Zama: clarify as 'FHE protocol for confidential blockchain apps'
  - OpenZeppelin: 'Battle-tested smart contract library'
- Fix comparison table: 'Official Registry' → 'Uses Official Registry'
- Update Non-Custodial description: clarify EIP-712 signature requirement
- Update Security Audit Status: 'Ready for Launch' → 'Sepolia Testnet Deployed'
- Fix audit description: remove unverified audit claims
- Update Dark Pools use case: soften front-running prevention claims
- Fix fragmentation claim: clarify registry role

All changes are text-only with no style, layout, or logic modifications.
…tions

Fix factual errors and misleading claims on landing page
hosein-ul added 2 commits July 8, 2026 10:13
- Change default design theme from 'charcoal' (blue accent) to 'midnight' (clean black & white)
- Update :root CSS variables to use Nordic Midnight color scheme
- Set midnight theme in ClientLayout as default
- Charcoal theme still available but requires explicit selection
- Dark mode now uses clean monochrome palette instead of blue accents
- Maintains all 4 theme options: charcoal, midnight, frost, aurora

Result: App dashboard now displays clean Nordic black/white design in dark mode
Switch to Nordic Midnight as default theme for clean dark mode
Updated project description for clarity.
Updated README to enhance project description and add links.
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