A lightweight and minimal starter for building web applications with Next.js.
- Clone the repository:
git clone git@github.com:qq919006380/Pic3.git
- Install the dependencies:
npm install
oryarn install
- Create a
.env.local
file. Set NEXT_PUBLIC_INFURA_API= NEXT_PUBLIC_CHAIN_ID= in .env.local - Start the development server:
npm run dev
oryarn dev
The starter is now running on http://localhost:3000.
- Next.js 13
- ESLint and Prettier for code formatting
- Wagmi
- Rainbowkit
- Notistack
- NextNProgress
-
Decentralized: IPFS distributes images globally, eliminating reliance on a single server.
-
Permanence: Images on IPFS are permanent, accessible as long as one node hosts them.
-
Verifiability: Every image on IPFS has a unique CID, ensuring the image's authenticity.
-
Distributed: IPFS hosting can handle high traffic, free from single server limitations.
-
Privacy: With images spread across the IPFS network, usershave greater privacy control.
-
Open Source: IPFS is fully open-source,allowing for restrictions.
- upload content via IPFS connector tools like nft.storage to obtain a CID.
- The CID is then transformed into encrypted code using a compression encryption algorithm.
- This encrypted code is uploaded to the blockchain via a contract.