feat: add Ethereum file upload example #19
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
Adds a new example application demonstrating how Ethereum developers can build a file upload dApp on Shelby Protocol.
Changes
Added
apps/ethereum/file-upload- A Next.js app with:Updated
pnpm-workspace.yamlto includeapps/ethereum/*Key Dependencies
@shelby-protocol/sdk- Core TypeScript SDK@shelby-protocol/ethereum-kit- Ethereum wallet integration@shelby-protocol/react- React hooks for blob uploads@rainbow-me/rainbowkit- Wallet connection UIwagmi- Ethereum hooksHow to Test
Note
Medium Risk
Adds a brand-new Next.js app with wallet integration and client-side uploads; main risk is dependency/lockfile churn and correctness of the new upload + signing flow, but it’s isolated to an example app.
Overview
Adds a new
apps/ethereum/file-uploadexample Next.js app that lets users connect an Ethereum wallet (RainbowKit/Wagmi) and upload a selected file to Shelby using@shelby-protocol/sdk+@shelby-protocol/react.Includes project scaffolding/config (
next.config.tsenabling async WebAssembly, Tailwind/PostCSS setup, Shadcn UI config), an.env.exampleforNEXT_PUBLIC_SHELBY_API_KEY, and a largepnpm-lock.yamlupdate;pnpm-workspace.yamlis updated to includeapps/ethereum/*.Written by Cursor Bugbot for commit f1d280a. This will update automatically on new commits. Configure here.