Frontend v2 on Solana — new pet instructions, VRF recovery, and UI overhaul#60
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🧪 Coverage
|
aichannode
requested changes
Jun 24, 2026
| # SOLANA_PROGRAM_ID : CryptoPets program id (base58) whose accounts we index. | ||
| # HELIUS_RPC_URL=https://devnet.helius-rpc.com/?api-key=<your-helius-key> | ||
| # SOLANA_PROGRAM_ID=78AXV46ks5oFoJHkukvbsfZTJixdj2MeStzuC6thiUry | ||
| # SOLANA_PROGRAM_ID=88HGagCw4i3BTMHEpdQy3YLeHrkTSKgXmvq66HJXKM7k |
Collaborator
There was a problem hiding this comment.
@tydreamer it looks weird to have this here :)
can you please remove the value?
so the actual value will be in .env.staging and .env.production
aichannode
approved these changes
Jun 24, 2026
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.
Summary
Brings the frontend up to parity with the deployed v2 Solana program and gives the
app a substantial UI/architecture cleanup. Adds new on-chain instructions
(
transfer_pet,sync_metadata), frontend-driven VRF settle with pending-txrecovery, cross-owner (married) breeding, and a broad migration of buttons/modals
to the shared Neon component system.
EVM-first parity is preserved; Solana is wired to match.
On-chain (Solana program)
transfer_petinstruction and wire pet sending end-to-endsync_metadatainstruction support (+ level-up "Sync metadata" button)settle_breed/settle_mintand dropupdate_authorityfrom thempl-core asset create CPI
initializeandset-configdeployment scripts; refresh program IDFeatures
awaiting-vrfphase during the oraclewait, parse
BattleResolvedto returnfirstWinsfrom the settle tx, and addpending-VRF recovery notices for both battle and breed
parent2Ownerfor married pets, auto-selectthe married Solana pet, and show a spouse indicator in the breed panel
withdraw_stud_feesactionopenToChallengesfield, toggle action, and UIcancel_battleandcancel_breedsupportVITE_SOLANA_DEVNET_RPC_URL; cluster-aware VRF timingfor mainnet readiness; explorer URL resolved from the connection RPC endpoint
UI / Refactor
send-pet, marriage confirm) to the shared
NeonButton/NeonModalsystem;extend the NeonButton palette
components; two-lane matchmaking layout and arena card redesign
useSpousePet,usePetCooldowns) andformatExpiryinto
shared/utils/common/timesrc; tighten theno-explicit-anyrule and remove dead CSSTests
open-to-challenges, adapter) and
mapSolanaPetpanel tests for auto-select + spouse indicator