Share and sign arbitrary transactions
This dapp is built using Solana dApp Scaffold Next.
The scaffold project structure may vary based on the front end framework being utilized. The below is an example structure for the Next js Scaffold.
├── public : publically hosted files
├── src : primary code folders and files
│ ├── components : should house anything considered a resuable UI component
│ ├── contexts` : any context considered reusable and useuful to many compoennts that can be passed down through a component tree
│ ├── hooks` : any functions that let you 'hook' into react state or lifecycle features from function components
│ ├── models` : any data structure that may be reused throughout the project
│ ├── pages` : the pages that host meta data and the intended `View` for the page
│ ├── stores` : stores used in state management
│ ├── styles` : contain any global and reusable styles
│ ├── utils` : any other functionality considered reusable code that can be referenced
│ ├── views` : contains the actual views of the project that include the main content and components within
style, package, configuration, and other project files
If submitting a feature, please reference the project structure shown above and try to follow the overall architecture and style presented in the repo.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.