Skip to content

Commit

Permalink
add blogchain readme (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago authored Dec 5, 2023
1 parent 09290ae commit c0c34ea
Showing 1 changed file with 23 additions and 26 deletions.
49 changes: 23 additions & 26 deletions blogchain/README.md
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
```

11 comments on commit c0c34ea

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

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

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

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

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

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

@vercel
Copy link

@vercel vercel bot commented on c0c34ea Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.