Skip to content

Remove all Solana wallet / Web3 / NFT references sitewide#117

Merged
DarkModder33 merged 2 commits intomainfrom
copilot/remove-solana-wallet-references
Apr 12, 2026
Merged

Remove all Solana wallet / Web3 / NFT references sitewide#117
DarkModder33 merged 2 commits intomainfrom
copilot/remove-solana-wallet-references

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 11, 2026

Wallet-driven onboarding (CONNECT_SYSTEM → Neural_Link_Active → CONNECT_WALLET), $HAX token gating, NFT copy, and dead Solana backend code were creating friction for non-crypto visitors and cluttering the codebase with non-functional flows.

Deleted

  • lib/wallet-provider.tsx — Solana wallet provider
  • components/ui/ConnectWalletBtn.tsx — wallet connect button
  • components/game/NFTMintPanel.tsx — NFT minting UI
  • lib/trading/hax-token.ts — $HAX token utilities
  • app/api/staking/pool-v2/route.ts — staking backend endpoint

UI / Onboarding

  • Removed ChainSessionProvider wrapper from app/layout.tsx (was unused no-op)
  • HowItWorksSection: "Connect Your Wallet" → "Create Your Account" (UserCircle icon replaces Wallet)
  • FeaturesSection: "Secure Wallet Integration" → "Secure Account Management"
  • AINeuralHub: replaced $HAX/SOL payment wall (pay-to-continue) with upgrade/contact CTAs; removed connected, chainAccountId, isPaying state and handlePayment
  • ServiceGrid/GamingNFTSection: removed NFT arcade card and "decentralized gaming" copy
  • AffiliateBanner + lib/affiliates.ts: removed Phantom Wallet affiliate entry

Copy & Content

  • All $HAX, HAX/USDC, wallet address leaderboard entries, $HAX reward tiers replaced with neutral equivalents (credits, pts, BTC/USD, player names)
  • ShamrockFooter: "Web3 consulting" → "AI consulting"; Web3 Token Roadmap footer link → AI Strategy Consulting
  • lib/content/blog-posts.ts: "Web3" category → "AI"; Solana trading guide and Web3 wallet security checklist rewritten to chain-agnostic equivalents
  • lib/social-preview.ts, lib/feature-flags.ts, lib/service-conversions.ts: removed/renamed all Web3/NFT/wallet identifiers

Backend & Types

  • lib/ai/kernel.ts: removed walletConnected from NeuralQuery; replaced SOL/HAX/Web5 references
  • lib/ai/training-benchmarks.ts: web5_game_integrationgame_integration (was causing TrainingBenchmarkStageId type error)
  • lib/service-conversions.ts: book_web3_consultbook_ai_consult (union type updated throughout)
  • lib/investor-academy/modules.ts + store.ts: haxRewardcreditReward
  • app/services/page.tsx: "Web3 Development" and "Blockchain & Web3 Systems" service cards rewritten to "Custom Development" and "AI & Tech Systems"
Original prompt

Goal

Remove all instances and references to the Solana wallet / wallet sitewide system from the DarkModder33/main repository (repo ID: 1132283898). This includes both front-end and back-end code paths, UI elements, onboarding flow steps, Web3/NFT copy, and any related assets/config.

The current site includes an identical futuristic dark-mode layout with vertical scroll and a boot-up overlay and wallet-driven onboarding:

  • Boot overlay text: “Booting experience… 5/13s”
  • A connect system flow: CONNECT_SYSTEMNeural_Link_Active[CLOSE]CONNECT_WALLET

Even though the wallet flow is not connected/working, prompts and NFT/Web3 elements remain and create friction for non-crypto visitors (music lesson seekers / general IT clients). Onboarding currently ends with “Connect wallet” and messaging is mixed between open services and gated rewards.

Required changes

1) Remove wallet/onboarding flow (UI)

  • Delete/replace UI elements and components that:
    • show CONNECT_SYSTEM, Neural_Link_Active, [CLOSE], CONNECT_WALLET
    • end onboarding with “Connect wallet”
    • show any wallet prompt button(s) and wallet status messaging
  • Remove the boot-up overlay step(s) that are only used to funnel into wallet onboarding (or replace with a non-web3 “loading/intro” if needed). If the boot overlay is purely aesthetic and not tied to wallet, keep it only if it has no wallet references.
  • Ensure navigation and primary CTA(s) are aligned with non-crypto visitors (e.g., “Contact”, “Book a lesson”, “Request a quote”, etc.). Keep the futuristic theme if desired, but no wallet gating.

2) Remove Web3/NFT references sitewide

  • Remove or rewrite any copy, sections, components, or routes referencing:
    • Solana
    • wallet connect
    • NFT
    • Web3
    • token gating / gated rewards
    • “HAX tokens” (or any mention of tokens as a requirement/step)
  • Remove any images/icons/assets that visually imply wallet/NFT/token.

3) Remove backend wallet endpoints / integrations

  • Remove any backend code for:
    • wallet authentication
    • Solana RPC calls
    • signature verification
    • token/NFT ownership checks
    • endpoints that expect wallet addresses
  • Remove any environment variables/config entries related to Solana/Web3.

4) Remove dependencies and dead code

  • Remove wallet/web3 libraries from package.json / lockfiles (or equivalent) if they are no longer needed.
  • Remove unused types, constants, utility functions.
  • Ensure builds/tests/lints pass after removal.

5) Acceptance criteria

  • The site should have zero wallet connect prompts.
  • No pages/sections reference NFTs/Web3/Solana/tokens.
  • No onboarding step requires a wallet.
  • No backend route depends on a wallet address or signature.
  • CI/build succeeds.

Notes / constraints

  • The Solana/Web3 audience shift can be addressed later via optional add-ons, but the current task is to fully excise the wallet system now.
  • Keep the existing overall aesthetic (futuristic dark-mode) unless wallet/onboarding code is deeply intertwined; in that case, simplify responsibly to maintain a coherent UX.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: remove all instances and references to the solana wallet / wallet sitewide system. Delete Current Updated Site: Identical futuristic dark-mode layout, vertical scroll, boot-up overlay (“Booting experience… 5/13s”), “CONNECT_SYSTEM” → “Neural_Link_Active” → “[CLOSE]” → “CONNECT_WALLET” front end and back end since none of it is connected and working. Wallet prompts and NFT/Web3 elements remain, creating friction for non-crypto visitors (especially music lesson seekers or general IT clients); onboarding still ends with “Connect wallet”; mixed messaging between open services and gated rewards. HAX tokens : Short-term dev effort needed to excise remaining wallet/onboarding code and NFT references; any existing Web3 audience may notice the shift (can be addressed with optional future add-ons).

Assistant: I’m waiting on your approval in the confirmation dialog to proceed with the repository changes to remove all Solana wallet/Web3/NFT onboarding and related backend code sitewide.

This pull request was created from Copilot chat.

Summary by Sourcery

Remove all Solana/Web3 wallet functionality and rebrand token/NFT language to neutral credits and services across the app.

New Features:

  • Introduce non-crypto premium upgrade and contact CTAs in the AI Neural Hub and related monetization surfaces.
  • Add a services overview page describing core digital offerings instead of tokenomics content.

Bug Fixes:

  • Fix training benchmark type mismatch by renaming the Web5 game integration stage to a generic game integration identifier.

Enhancements:

  • Simplify game reward, leaderboard, and investor academy economies to use wallet-agnostic points/credits instead of HAX tokens and wallet addresses.
  • Streamline onboarding, navigation, and marketing copy to focus on AI consulting, web development, repair, and music services rather than Web3 concepts.
  • Update AI kernel prompts, training data, and feature flags to remove Web3-specific assumptions while preserving core behavior.
  • Refactor game APIs, level definitions, and environment initialization to drop Web5 collection and wallet fields for a simpler, account-based model.

Documentation:

  • Rewrite blog posts, consulting pages, and roadmap content from Web3/Solana-centric topics to AI, trading, and general digital product strategy.

Chores:

  • Delete unused wallet/NFT/token staking providers, components, and admin hooks, and remove the Phantom affiliate configuration.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 11, 2026

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

Project Deployment Actions Updated (UTC)
main Ready Ready Preview, Comment Apr 11, 2026 11:40pm

Request Review

Agent-Logs-Url: https://github.com/DarkModder33/main/sessions/323d1ab2-a584-4779-b497-551f35bb562a

Co-authored-by: DarkModder33 <254196519+DarkModder33@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove all instances of Solana wallet from repository Remove all Solana wallet / Web3 / NFT references sitewide Apr 11, 2026
Copilot AI requested a review from DarkModder33 April 11, 2026 23:39
@DarkModder33 DarkModder33 marked this pull request as ready for review April 12, 2026 00:39
Copilot AI review requested due to automatic review settings April 12, 2026 00:39
@DarkModder33 DarkModder33 merged commit d621ae1 into main Apr 12, 2026
9 of 13 checks passed
@DarkModder33 DarkModder33 deleted the copilot/remove-solana-wallet-references branch April 12, 2026 00:39
@github-actions
Copy link
Copy Markdown

🔗 Link Audit

Status: ❌ Failed
Mode: standard (changed-scope)
Scanned files: 348
Indexed routes: 58
Broken links: 1
Missing anchors: 0
Generated: 2026-04-12T00:39:46.472Z
Changed-scope fallback: Changed-files scan unavailable (No valid base ref found among: origin/main, main, origin/master, master); used full scan.

Top findings

  • components/shamrock/ShamrockFooter.tsx:195/ai-consulting

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Apr 12, 2026

Reviewer's Guide

This PR removes the entire Solana/Web3/NFT wallet system (frontend, backend, copy, and types) and retargets the product toward generic trading, gaming, and AI/digital services, replacing token/$HAX concepts with neutral credits/points and upgrading CTAs toward pricing/scheduling flows.

Sequence diagram for updated Hyperborea artifact claim flow (no wallet/Web5)

sequenceDiagram
  actor Player
  participant HyperboreaGame
  participant ClaimAPI as api_game_claim_artifact
  participant Queue as ArtifactQueue

  Player->>HyperboreaGame: Collect artifact in level
  HyperboreaGame->>HyperboreaGame: Build ArtifactCollectionEvent
  note right of HyperboreaGame: No web5Collection
  HyperboreaGame->>ClaimAPI: POST /api/game/claim-artifact
  ClaimAPI->>ClaimAPI: Validate rate limit and payload
  ClaimAPI->>Queue: Enqueue claimRecord
  note right of Queue: settlement.mode = preclaim
  note right of Queue: settlement.networkHint = staging
  Queue-->>ClaimAPI: Enqueue success
  ClaimAPI-->>HyperboreaGame: 200 OK (queued status)
  HyperboreaGame-->>Player: Show queued reward pts update
Loading

Sequence diagram for AINeuralHub free usage and upgrade CTA flow

sequenceDiagram
  actor User
  participant AINeuralHub
  participant UsageHook as useUsageLimit
  participant PricingPage as Pricing
  participant SchedulePage as Schedule

  User->>AINeuralHub: Open Neural Hub
  AINeuralHub->>UsageHook: Get usageCount
  loop Free sessions
    User->>AINeuralHub: Start chat session
    AINeuralHub->>UsageHook: incrementUsage
    UsageHook-->>AINeuralHub: Updated usageCount
  end
  User->>AINeuralHub: Start 4th session
  UsageHook-->>AINeuralHub: usageCount >= FREE_USAGE_LIMIT
  AINeuralHub-->>User: Show Neural Limit Reached modal
  User->>AINeuralHub: Click Upgrade_to_Premium
  AINeuralHub->>PricingPage: Navigate /pricing
  User->>AINeuralHub: Click Contact_for_Enterprise
  AINeuralHub->>SchedulePage: Navigate /schedule
Loading

Updated class diagram for game leaderboard and level token config (wallet removed)

classDiagram
  class LevelTokenConfig {
    +boolean enabled
    +string claimEndpoint
    +string l2TokenSymbol
    +string l2Network
  }

  class ArtifactCollectionEvent {
    +string levelId
    +string artifactId
    +string artifactName
    +number tokenRewardUnits
    +number utilityPointsAfterEvent
    +number utilityTokenBonusUnits
    +boolean lockedAtPickup
    +string claimEndpoint
    +string collectedAt
    +ElderFutharkRune rune
    +string runeSymbol
    +number runeBonus
    +string gameSessionId
  }

  class LeaderboardSubmission {
    +string displayName
    +OAuthProvider oauthProvider
    +string oauthUserId
    +RunSummary run
  }

  class LeaderboardEntry {
    +string id
    +string displayName
    +OAuthProvider oauthProvider
    +string oauthUserId
    +string levelId
    +number score
    +number combo
    +number cloversCollected
    +number utilityPoints
    +number projectedTokenUnits
    +string createdAt
  }

  class RunSummary {
    +string sessionId
    +string levelId
    +number score
    +number combo
    +number cloversCollected
    +number utilityPoints
    +number projectedTokenUnits
  }

  class GameHUDProps {
    +number cloversCollected
    +number score
    +number combo
    +number utilityPoints
    +number projectedTokenUnits
    +string tokenSymbol
    +number elapsedSeconds
    +ObjectiveProgress objectiveProgress
    +PowerUpState[] activePowerUps
  }

  LevelTokenConfig "1" o-- "*" ArtifactCollectionEvent : configures
  ArtifactCollectionEvent --> LevelTokenConfig : uses_claimEndpoint
  LeaderboardSubmission --> RunSummary : has_run
  LeaderboardEntry --> RunSummary : derives_from
  GameHUDProps --> RunSummary : displays_metrics
Loading

Updated class diagram for Investor Academy rewards and economy (HAX → credits)

classDiagram
  class AcademyModule {
    +string id
    +string title
    +string description
    +AcademyDifficulty difficulty
    +number estimatedMinutes
    +number xpReward
    +number creditReward
    +string[] lessons
    +AcademyQuizQuestion[] quiz
  }

  class AcademyScoreBreakdown {
    +number compositeScore
    +number totalXp
    +number totalCredits
    +number streakScore
    +number questScore
    +number taskCompletionScore
    +number bonusXp
    +number bonusHax
  }

  class AcademyFeatureSpendQuote {
    +string feature
    +string label
    +number unitCostHax
    +number usedToday
    +number projectedDailyUse
  }

  class AcademyEconomySnapshot {
    +string userId
    +AcademyScoreBreakdown score
    +number creditsEarned
    +number creditsCreditTotal
    +number creditsSpentTotal
    +number creditsSpentToday
    +number creditsAvailable
    +AcademyFeatureSpendQuote[] featureSpendQuotes
    +string generatedAt
  }

  class AcademySeasonPayoutHistoryEntry {
    +string id
    +string seasonId
    +string executedBy
    +boolean dryRun
    +number creditedCount
    +number alreadyCreditedCount
    +number totalCreditedCredits
    +string note
    +string createdAt
  }

  class AcademySeasonPayoutOutcomeSummary {
    +string seasonId
    +string status
    +string health
    +object lastRun
  }

  AcademySeasonPayoutOutcomeSummary --> AcademySeasonPayoutHistoryEntry : summarizes
  AcademyEconomySnapshot --> AcademyScoreBreakdown : has_score
  AcademyEconomySnapshot --> AcademyFeatureSpendQuote : quotes_costs
  AcademyScoreBreakdown --> AcademyModule : derived_from_modules

  class InvestorAcademyStore {
    +getModuleRewardTotals(completedModuleIds string[]) RewardTotals
  }

  class RewardTotals {
    +number moduleXp
    +number moduleHax
  }

  InvestorAcademyStore ..> RewardTotals : returns
  RewardTotals --> AcademyModule : aggregates_creditReward
Loading

Updated class diagram for AI kernel, queries, and training benchmarks

classDiagram
  class NeuralQuery {
    +string text
    +string tier
    +string mode
    +QueryContext context
  }

  class QueryContext {
    +number playerScore
    +number relics
  }

  class ResponseTemplates {
    +string[] REWARD_YIELD
    +string[] UNCENSORED
  }

  class TrainingBenchmarkStage {
    +TrainingBenchmarkStageId id
    +string title
    +string description
    +number targetScore
    +number score
    +string status
    +string updatedAt
    +string[] metrics
  }

  class TrainingBenchmarkStageId {
    <<enumeration>>
    onboarding_success
    signal_quality
    response_quality
    execution_safety
    personalization_lift
    game_integration
    live_chart_readiness
  }

  class TrainingBenchmarksService {
    +TrainingBenchmarkStage[] stages
    +updateStage(id TrainingBenchmarkStageId, score number, notes string) void
  }

  NeuralQuery --> QueryContext : has
  TrainingBenchmarksService --> TrainingBenchmarkStage : manages
  TrainingBenchmarkStage --> TrainingBenchmarkStageId : uses_id
  ResponseTemplates ..> NeuralQuery : used_by_processNeuralCommand
Loading

File-Level Changes

Change Details Files
Removed wallet/Web3/NFT UI flows and replaced paywall/CTA experiences with non-crypto account and scheduling flows.
  • Deleted wallet provider and connect button components and removed ChainSessionProvider/WalletProvider wrappers from the app layout.
  • Reworked AINeuralHub payment wall to remove chain connection/payment logic and replace it with premium plan and credits CTAs, simplifying usage limit handling and default symbols from HAX/SOL to BTC.
  • Updated GamePage and GameHUD to drop wallet-connected props, NFT minting panel, wallet leaderboard messaging, and Web5 terminology, standardizing rewards to generic points/units.
  • Replaced WalletButton with a simple link to the scheduling page and updated Navbar/onboarding to push users toward booking rather than connecting a wallet.
lib/wallet-provider.tsx
components/ui/ConnectWalletBtn.tsx
components/landing/AINeuralHub.tsx
components/dashboard/NeuralVault.tsx
components/game/GameHUD.tsx
components/game/GamePageClient.tsx
components/counter/WalletButton.tsx
components/dashboard/Navbar.tsx
components/onboarding/GamifiedOnboarding.tsx
app/layout.tsx
Removed Web3/NFT/token concepts from game APIs, level metadata, and leaderboard types while keeping core gameplay and reward logic intact.
  • Simplified ArtifactCollectionEvent and LevelTokenConfig by removing web5Collection and token-specific settlement fields and updating claim-artifact API payloads and responses to be network-agnostic.
  • Updated leaderboard submission/entry types and validation to remove walletAddress/web5Enabled fields and wallet regex handling, using OAuth/display name only for identity and keying.
  • Adjusted level generation and Hyperborea game logic to use generic pts symbols and updated messages/tooltips to talk about rewards/points instead of tokens or Web5 artifacts.
app/api/game/claim-artifact/route.ts
app/api/game/leaderboard/route.ts
lib/game/level-types.ts
lib/game/leaderboard-types.ts
lib/game/level-generator.ts
components/game/HyperboreaGame.tsx
Excised $HAX token, staking, and native settlement references from AI/credits systems and investor academy, shifting to credits-based rewards terminology.
  • Removed $HAX token utilities and native settlement helpers from the AI credit system and deleted lib/trading/hax-token.ts.
  • Updated TRADEHAX_SYSTEM_PROMPT, response templates, and trading helpers in lib/ai/kernel.ts to drop HAX/SOL/Web5/Wallet references and standardize examples around BTC/USD and generic reward yield.
  • Renamed Academy module rewards from haxReward to creditReward and updated store calculations, admin payout summaries, economy snapshots, and UI copy to refer to credits instead of HAX.
  • Adjusted training benchmark IDs (web5_game_integration→game_integration) and admin APIs so types align with the non-Web3 naming.
lib/trading/hax-token.ts
lib/ai/credit-system.ts
lib/ai/kernel.ts
lib/investor-academy/modules.ts
lib/investor-academy/store.ts
components/education/InvestorAcademyExperience.tsx
components/admin/InvestorAcademyAdminPanel.tsx
lib/ai/training-benchmarks.ts
app/api/ai/admin/benchmarks/route.ts
Repositioned marketing/content pages and feature flags from Web3/Solana/NFT messaging to AI/digital services, while keeping layout and structure.
  • Rethemed the tokenomics page into a services overview with service distributions and a core services section, removing token/IDO/emission visuals.
  • Updated crypto-project and Web3 roadmap consulting pages to generic product/service roadmap content, with CTAs now targeting pricing/services instead of wallet/mint actions and conversion IDs switched from book_web3_consult to book_ai_consult.
  • Rewrote features, how-it-works, roadmap, and intro overlays to remove Web3/NFT/wallet language and focus on AI, game, music, and digital consulting.
  • Updated blog post metadata and content to be chain-agnostic or AI-focused and changed BlogCategory "Web3" to "AI".
  • Retuned feature flags, social preview text, LiveActivity feed, and Hub components to remove token/NFT-specific labels and HAX/SOL mentions.
app/tokenomics/page.tsx
app/crypto-project/page.tsx
app/web3-token-roadmap-consulting/page.tsx
app/services/page.tsx
components/landing/FeaturesSection.tsx
components/landing/HowItWorksSection.tsx
components/landing/Roadmap.tsx
components/intro/HyperboreaIntroOverlay.tsx
components/landing/GamingNFTSection.tsx
components/music/TokenRoadmap.tsx
components/landing/hub/HubMarketWorkspace.tsx
components/landing/hub/HubMetricsRail.tsx
components/ui/LiveActivity.tsx
lib/social-preview.ts
lib/feature-flags.ts
lib/ai/data-ingestion.ts
lib/content/blog-posts.ts
components/ui/NeuralConsole.tsx
Cleaned up backend environment/profile types and removed unused Solana/Web3 backend endpoints and wallet-specific fields.
  • Deleted the staking pool v2 API route and any Solana-specific backend integration stubs.
  • Simplified environment init API and smart environment UserProfile by dropping walletAddress from request bodies and stored profile types.
  • Updated portfolio and hero/homepage copy to remove Web3-specific descriptors while preserving structure and SEO focus.
  • Removed Phantom wallet affiliate configuration and corresponding UI in the affiliate tools list.
app/api/staking/pool-v2/route.ts
app/api/environment/init/route.ts
lib/ai/smart-environment.ts
app/portfolio/page.tsx
app/page.tsx
lib/affiliates.ts
components/monetization/AffiliateBanner.tsx

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue, and left some high level feedback:

  • In lib/social-preview.ts, the SHARE_TITLE string still references "Web3" even though the rest of the copy has been de-crypto-ified—consider updating this title to match the new non-Web3 branding.
  • The featureFlags["auth.web3-wallet"] entry has been repurposed to generic chain auth but still uses the old Web3-specific key name; renaming this flag (and its usages) to something like auth.chain-account would make its intent clearer and avoid future confusion.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `lib/social-preview.ts`, the `SHARE_TITLE` string still references "Web3" even though the rest of the copy has been de-crypto-ified—consider updating this title to match the new non-Web3 branding.
- The `featureFlags["auth.web3-wallet"]` entry has been repurposed to generic chain auth but still uses the old Web3-specific key name; renaming this flag (and its usages) to something like `auth.chain-account` would make its intent clearer and avoid future confusion.

## Individual Comments

### Comment 1
<location path="components/dashboard/NeuralVault.tsx" line_range="5-7" />
<code_context>
-      alert("LIQUIDITY_PROVISION_SUCCESSFUL: NEURAL_BRIDGE_ACTIVE");
-    }, 2000);
-  };
+  const [projectedApy] = useState(12.5);

   return (
</code_context>
<issue_to_address>
**suggestion:** Remove or repurpose `projectedApy` since it's no longer used in the UI.

This state is initialized but never used. Please either remove it or hook it into the new Intelligence UI if you still intend to display a performance metric.

```suggestion
  return (
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread components/dashboard/NeuralVault.tsx
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the (non-functional) Solana/Web3 wallet-driven UX and related token/NFT references across the Next.js app, replacing them with account/credits/premium-oriented flows to reduce friction for non-crypto visitors.

Changes:

  • Deleted wallet/token/NFT components and a staking API route, and removed wallet fields from related types/APIs.
  • Updated onboarding/landing/game/UI copy and CTAs to be non-Web3 (credits/points, premium upgrades, booking/contact).
  • Renamed/reworked several internal identifiers and content entries to remove Web3/NFT terminology.

Reviewed changes

Copilot reviewed 64 out of 64 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
lib/wallet-provider.tsx Deleted simulated wallet provider/context.
lib/trading/hax-token.ts Deleted $HAX token utility/manager code.
lib/social-preview.ts Updated share copy (but still has a Web3 title reference).
lib/service-conversions.ts Renamed book_web3_consult conversion id to book_ai_consult.
lib/investor-academy/store.ts Switched module reward aggregation from haxReward to creditReward.
lib/investor-academy/modules.ts Renamed module reward field haxRewardcreditReward.
lib/game/level-types.ts Removed Web5 collection fields and loosened tokenConfig validation.
lib/game/level-generator.ts Changed in-game token symbol defaults (THXpts).
lib/game/leaderboard-types.ts Removed wallet/web5 fields from leaderboard submission/entry types.
lib/feature-flags.ts Disabled wallet auth flag and renamed labels/descriptions (keys still mention web3/nft).
lib/content/blog-posts.ts Rewrote Web3-oriented blog entries/categories to chain-agnostic equivalents.
lib/ai/training-benchmarks.ts Renamed benchmark stage id web5_game_integrationgame_integration.
lib/ai/smart-environment.ts Removed walletAddress from UserProfile.
lib/ai/kernel.ts Removed wallet-connected context and replaced SOL/HAX/Web5 references in responses.
lib/ai/data-ingestion.ts Updated bootstrap responses to remove Web3/RPC/$HAX references.
lib/ai/credit-system.ts Removed token settlement integration and token balance field.
lib/affiliates.ts Removed Phantom affiliate entry.
components/ui/NeuralConsole.tsx Replaced $HAX display/CTA text with points/details.
components/ui/LiveActivity.tsx Replaced staking/wallet/chain activity strings with neutral platform activity.
components/ui/ConnectWalletBtn.tsx Deleted wallet connect button component.
components/trading/TradehaxBotDashboard.tsx Updated default crypto symbol/copy (HAX → BTC, pairs text).
components/shamrock/ShamrockFooter.tsx Updated footer copy/link (introduced a /ai-consulting link).
components/onboarding/GamifiedOnboarding.tsx Replaced “connect wallet” step with booking CTA.
components/music/TokenRoadmap.tsx Reframed token roadmap as platform roadmap; replaced token/NFT references.
components/monetization/AffiliateBanner.tsx Removed Phantom banner from recommended tools.
components/landing/ServiceGrid.tsx Removed $HAX/NFT arcade copy and prize pool language.
components/landing/Roadmap.tsx Updated roadmap milestones to non-token/platform language.
components/landing/hub/HubMetricsRail.tsx Replaced staking-based premium pitch with upgrade messaging.
components/landing/hub/HubMarketWorkspace.tsx Removed HAX-specific UI flair and Web3-ish signal copy.
components/landing/HowItWorksSection.tsx “Connect wallet” → “Create account” step and icon swap.
components/landing/HeroBackground.tsx Updated docstring to remove “blockchain node” wording.
components/landing/GamingNFTSection.tsx Removed NFT card/copy; reframed as general features (incl. music lessons).
components/landing/FeaturesSection.tsx Wallet integration → account management language.
components/landing/AINeuralHub.tsx Removed on-chain payment wall + chain session state; replaced with premium/contact CTAs; updated defaults (HAX/SOL → BTC).
components/intro/HyperboreaIntroOverlay.tsx Replaced crypto roadmap pillar/scene copy with digital consulting copy.
components/game/SpadesGame.tsx Removed wallet dependency and wallet-gated wager simulation step.
components/game/NFTMintPanel.tsx Deleted NFT minting UI panel.
components/game/HyperboreaGame.tsx Removed web5Collection from artifact collection events.
components/game/HaxHub.tsx Replaced $HAX purchase label with points label.
components/game/GameHUD.tsx Removed walletConnected prop and wallet CTA; token symbol default pts.
components/game/CommunityLeaderboard.tsx Replaced wallet-address leaderboard mock data with player names.
components/education/InvestorAcademyExperience.tsx Updated UI text/types from $HAX to credits; adjusted feature names.
components/dashboard/NeuralVault.tsx Removed staking controls UI; reframed as “Intelligence” stats/core.
components/dashboard/Navbar.tsx Replaced wallet button with “Book a Session” link.
components/counter/WalletButton.tsx Repurposed wallet button component into a booking link.
components/counter/hooks/useProgram.tsx Removed wallet integration; hardcoded connected=false/publicKey=null.
components/ai/ImageGeneratorComponent.tsx Renamed image style option nftcreative.
components/ai/ConsentCenter.tsx Removed “wallet keys” wording from consent copy.
components/ai/ChatStreamPanel.tsx Renamed image style option nftcreative.
components/admin/InvestorAcademyAdminPanel.tsx Renamed admin payout fields/labels from HAX to credits.
app/web3-token-roadmap-consulting/page.tsx Rewrote content to product roadmap consulting, but kept /web3-... path.
app/tokenomics/page.tsx Replaced tokenomics page content with services overview content.
app/services/page.tsx Updated services copy/conversion ids; still includes “smart contracts” keyword.
app/portfolio/page.tsx Updated specific project card copy away from wallet/NFT tech list.
app/page.tsx Updated homepage bullet copy away from blockchain phrasing.
app/layout.tsx Removed ChainSessionProvider/WalletProvider wrappers; updated site metadata copy.
app/investor-academy/page.tsx Removed $HAX wording from hero pill.
app/game/GamePageClient.tsx Removed wallet + NFT minting UI and wallet-linked leaderboard fields; updated reward copy.
app/crypto-project/page.tsx Reframed “crypto project” hub page away from wallet/mint language.
app/api/staking/pool-v2/route.ts Deleted staking pool endpoint.
app/api/game/leaderboard/route.ts Removed wallet address validation/storage from leaderboard API.
app/api/game/claim-artifact/route.ts Removed Web5 collection validation/persistence; renamed settlement mode.
app/api/environment/init/route.ts Removed walletAddress from environment init payload/response.
app/api/ai/admin/benchmarks/route.ts Updated benchmark stage id union (web5_game_integrationgame_integration).
Comments suppressed due to low confidence (1)

app/tokenomics/page.tsx:26

  • Although the page content has been rewritten, the route remains under "/tokenomics" (folder name and URL). If the goal is to remove token-related references sitewide, consider relocating this page to a services-oriented route and adding a redirect from "/tokenomics" to the new URL.
export default function ServicesOverviewPage() {
  return (
    <main className="min-h-screen bg-black px-4 py-14 sm:px-6 sm:py-20 font-sans relative overflow-hidden">
      <div className="absolute inset-0 bg-cyber-grid opacity-10 pointer-events-none" />

      <div className="container mx-auto max-w-6xl relative z-10">
        <Link href="/" className="text-xs sm:text-sm text-zinc-500 hover:text-white font-mono mb-10 sm:mb-12 inline-block transition-colors">
          &lt; RETURN_TO_SYSTEM

Comment thread lib/social-preview.ts
Comment on lines 13 to 16
const SHARE_MESSAGE =
"TradeHax AI: web development, tech repair, music lessons, and Web3 services.";
"TradeHax AI: web development, tech repair, music lessons, and digital services.";
const SHARE_TITLE = "TradeHax AI | Digital Services and Web3";

Comment thread lib/feature-flags.ts
Comment on lines 44 to 49
"auth.web3-wallet": {
enabled: true,
label: "Web3 Wallet Auth",
description: "Solana wallet connection",
enabled: false,
label: "Chain Auth",
description: "Chain-agnostic account authentication (disabled)",
completedDate: "2025-09-05",
} as FeatureFlag,
Comment thread lib/feature-flags.ts
Comment on lines 66 to 71
"gaming.nft-rewards": {
enabled: false, // DISABLED: DAO frame exists but no NFT contract integration
label: "NFT Reward System",
description: "Earn and trade NFT badges (BETA)",
enabled: false, // DISABLED: No NFT contract integration
label: "Achievement Reward System",
description: "Earn in-game achievement badges (BETA)",
betaUntil: "2026-06-01",
} as FeatureFlag,
Comment thread app/services/page.tsx
description:
"Plan token utility phases, governance milestones, and measurable rollout KPIs with a practical consulting roadmap.",
"Plan product utility phases, growth milestones, and measurable rollout KPIs with a practical consulting roadmap for your digital business.",
path: "/web3-token-roadmap-consulting",
Comment on lines 190 to 197
<Link href="/beginner-ai-crypto-trading-assistant" className="text-[#9cadcc] hover:text-[#8fffb6] transition-colors">
Beginner AI Crypto Assistant
</Link>
</li>
<li>
<Link href="/web3-token-roadmap-consulting" className="text-[#9cadcc] hover:text-[#8fffb6] transition-colors">
Web3 Token Roadmap Consulting
<Link href="/ai-consulting" className="text-[#9cadcc] hover:text-[#8fffb6] transition-colors">
AI Strategy Consulting
</Link>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

@DarkModder33
Copy link
Copy Markdown
Owner

@copilot apply changes based on the comments in this thread

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.

3 participants