https://github.com/gomoonit/nextjs-example
Example nextjs app using the sdk
https://github.com/gomoonit/nextjs-example
launchpad mint-token moonshot moonshot-nextjs moonshot-sdk solana spl-token
Last synced: about 2 months ago
JSON representation
Example nextjs app using the sdk
- Host: GitHub
- URL: https://github.com/gomoonit/nextjs-example
- Owner: gomoonit
- Created: 2024-12-01T16:12:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T16:10:08.000Z (over 1 year ago)
- Last Synced: 2025-06-26T23:48:59.271Z (12 months ago)
- Topics: launchpad, mint-token, moonshot, moonshot-nextjs, moonshot-sdk, solana, spl-token
- Language: TypeScript
- Homepage:
- Size: 276 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @wen-moon-ser/moonshot-sdk Nextjs Example
This is a simple example of mint funcitonality using the moonshot sdk.
The Nextjs app has 2 endpoints, prepare/submit, using which we create a mint instruction, serialize it send it to the UI, which then sings the transaction using solana wallet adapter and sends the serialized transaction back to submit endpoint. This in turn submits the transaction to blockchain.
## Getting Started
First, run the development server:
```bash
yarn install
&
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.