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.
Add Banano Network Support 🍌
Overview
This PR adds support for visualizing the Banano cryptocurrency network alongside the existing Nano network visualization. Users can now access the Banano visualization at the
/banano
route.Key Changes
/banano
route with dedicated visualization for the Banano networkNew Files
banano/hooks/use-banano-websocket.tsx
: Custom websocket hook for Banano networkbanano/components/donation-animation.tsx
: Banano-specific donation animationbanano/components/three-scene-client.tsx
: Customized 3D scene for Bananobanano/lib/get-style-by-banano-amount.ts
: Styling utilities for Banano amountspublic/banano/
Environment Variables
Added new environment variables for Banano support:
How to Test
.env.local
pnpm dev
/
for Nano visualization/banano
for Banano visualizationNotes
NEXT_PUBLIC_USE_SAMPLE_DATA=true
DEMO
Screen.Recording.2024-10-28.at.1.53.27.AM.mov