Fix issue #306 in nextjs-anchor template#314
Open
cxalem wants to merge 8 commits intosolana-foundation:mainfrom
Open
Fix issue #306 in nextjs-anchor template#314cxalem wants to merge 8 commits intosolana-foundation:mainfrom
cxalem wants to merge 8 commits intosolana-foundation:mainfrom
Conversation
Woody4618
reviewed
Feb 25, 2026
Collaborator
Author
|
I've addressed all the review comments:
We decided to continue with the current approach, adding a self-contained |
This was referenced Mar 5, 2026
|
This pull request has been automatically marked as stale because it has not had any activity for 7 days. It will be closed in 7 days if no further activity occurs. If you believe this PR is still relevant, please add a comment or push new commits to keep it open. Thank you for your contributions! |
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.
This PR addresses the issues Jonas reported in #306 for
kit/nextjs-anchor.I updated the template UX and flows with cluster switching, wallet dropdown connection and error handling, wallet balance and airdrop, explorer links, and clearer transaction and error messaging in the vault interactions. I also fixed the template docs and setup text so it matches the real workflow.
I replaced framework-kit usage with a self-contained
app/liblayer built on@solana/kitand wallet-standard for wallet connection, transaction sending, cluster RPC, and balance hooks.If this direction looks good, I can replicate the same design identity and
libstructure across the other kit templates.P.D.
This implementation increases the boilerplate, since we removed a library to add custom code, and we'll need to do this in all the templates. The right direction is to make this a library or use an existing one!