-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09290ae
commit c0c34ea
Showing
1 changed file
with
23 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,33 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
|
||
## Getting Started | ||
## Blogchain | ||
|
||
First, run the development server: | ||
**DEMO:** https://blogchain.mintbase.xyz/ | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Mintbase/examples/tree/main/blogchain) [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/Mintbase/examples/tree/main/blogchain) | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
Welcome to Blogchain: the decentralized writer's blog. | ||
Transform your blogs into smart contracts and posts into NFTs. | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
This example was built on top of **Next.js 14** using some of [@mintbase-js](https://github.com/Mintbase/mintbase-js) packages: | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
- [@mintbase.js/sdk](https://github.com/Mintbase/mintbase-js/tree/beta/packages/sdk): to use the execute contract calls | ||
- [@mintbase.js/react](https://github.com/Mintbase/mintbase-js/tree/beta/packages/react) to provide the wallet connection | ||
- [@mintbase.js/storage](https://github.com/Mintbase/mintbase-js/tree/beta/packages/sdk): to upload the images to Arweave | ||
- [@mintbase.js/data](https://github.com/Mintbase/mintbase-js/tree/beta/packages/data) to fetch indexer data | ||
|
||
## Deploy on Vercel | ||
[Mintbase Docs - Deploy Contract](https://docs.mintbase.xyz/dev/mintbase-sdk-ref/sdk/deploycontract) | ||
[Mintbase Docs - Mint NFT](https://docs.mintbase.xyz/dev/mintbase-sdk-ref/sdk/mint) | ||
[Mintbase Docs - Upload Data to Arweave](https://docs.mintbase.xyz/dev/mintbase-sdk-ref/storage) | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
### Setup | ||
install dependencies | ||
``` | ||
pnpm install | ||
``` | ||
and | ||
run the project | ||
``` | ||
pnpm dev | ||
``` |
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-starter-react-vite – ./starter/react-vite
templates-starter-react-vite-mintbase.vercel.app
starter-react-vite.mintbase.xyz
starter-react-vite.vercel.app
templates-starter-react-vite-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates – ./
templates-mintbase.vercel.app
templates-git-main-mintbase.vercel.app
templates-theta.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-contract-deployer – ./contract-deployer
contract-deployer-template.vercel.app
contract-deployer-template.mintbase.xyz
templates-contract-deployer-mintbase.vercel.app
templates-contract-deployer-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-simple-minter – ./minter
templates-simple-minter-mintbase.vercel.app
minter.mintbase.xyz
minter-template.vercel.app
templates-simple-minter-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-starter – ./starter/next-js
mintbase-starter.vercel.app
templates-starter-mintbase.vercel.app
starter.mintbase.xyz
templates-starter-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-token-drop – ./simple-token-drop
token-drop-template.vercel.app
templates-token-drop-mintbase.vercel.app
token-drop-template.mintbase.xyz
templates-token-drop-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-ai-chat – ./ai-chat
ai-chat.mintbase.xyz
ai-chat-template-mintbase.vercel.app
templates-ai-chat-mintbase.vercel.app
templates-ai-chat-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-blogchain – ./blogchain
blogchain-template.vercel.app
templates-blogchain-mintbase.vercel.app
blogchain.mintbase.xyz
templates-blogchain-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-nft-stripe-checkout – ./nft-stripe-checkout
templates-nft-stripe-checkout-mintbase.vercel.app
nft-stripe-checkout.vercel.app
nft-stripe-checkout.mintbase.xyz
templates-nft-stripe-checkout-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-ai-minter – ./ai-minter
templates-ai-minter-mintbase.vercel.app
ai-minter.vercel.app
ai-minter.mintbase.xyz
templates-ai-minter-git-main-mintbase.vercel.app
c0c34ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
templates-marketplace – ./marketplace
marketplace-template.vercel.app
templates-marketplace-mintbase.vercel.app
marketplace-template.mintbase.xyz
templates-marketplace-git-main-mintbase.vercel.app