Merged
Conversation
0c9525a to
9f96ff3
Compare
Simple Solana dApp demonstrating file uploads to Shelby Protocol using: - @solana/react-hooks for wallet connection - @shelby-protocol/solana-kit/react for storage account - @shelby-protocol/react for blob uploads Uses the new simplified useStorageAccount API that accepts wallet directly.
41c2dd5 to
1362ce2
Compare
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.
A simple Solana dApp demonstrating file uploads to Shelby Protocol.
What's included
@shelby-protocol/solana-kit/reactAPItoken-gatedexample (create-solana-dapp) but without AnchorPackages used
@solana/react-hooks- wallet connection@shelby-protocol/solana-kit/react- storage account derivation@shelby-protocol/react- blob uploadsFiles
Note
Low Risk
Adds a new, self-contained example Next.js app and its dependencies; existing application logic is not modified beyond workspace lockfile updates.
Overview
Adds a new
apps/solana/file-uploadNext.js example dApp that connects a Solana wallet, derives a Shelby storage account via@shelby-protocol/solana-kit/react, and uploads a selected file viauseUploadBlobs(with status/error UI and an Explorer link).Includes the app’s supporting config/docs (
README.md,.env.example, Tailwind/Next/TS/ESLint configs, icon) and updatespnpm-lock.yamlto add the new package and resolve related dependency graph changes.Written by Cursor Bugbot for commit 1362ce2. This will update automatically on new commits. Configure here.