Mintbase template with to generate Stability.ai images and mint them to Near instantly.
![image](https://private-user-images.githubusercontent.com/12901349/276025624-eb061e45-04b6-4cd6-bb1e-7f5c1f7f39ac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgzMDY3NzgsIm5iZiI6MTcxODMwNjQ3OCwicGF0aCI6Ii8xMjkwMTM0OS8yNzYwMjU2MjQtZWIwNjFlNDUtMDRiNi00Y2Q2LWJiMWUtN2Y1YzFmN2YzOWFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEzVDE5MjExOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkMGMxYWZhODkyMGVjY2QxMTlmNTliNjg5YWY0NmJmOTYzNDk4ZGZjMmRkN2FjODY4ODgzMzcwM2M3OGZkYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Pyxrzq1gP3bY9Xzn3nf_WhbkBQ9SXjxSnVKG6Ihl7bU)
First, add necessary environment variables.
Next, create a contract on testnet.mintbase.xyz
Deploy a proxy minter contract using this repo: mintbase/minsta-contract
Finally, add the proxy contract as a minter on your Mintbase dashboard.
**Note if deploying to prod this requires pro or higher on vercel to support serverless functions > 15 seconds
Run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
- make sure to add your environment variables
Check out our Next.js deployment documentation for more details.