Skip to content

saeta-eth/arweave-nextjs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

To export your Next.js application to static HTML, run:

npm run build
# or
yarn build

And then

npm run export
# or
yarn export

Your Next.js HTML static files are inside of the out folder.

Deploy on Arweave using Bundlr Network

  • Get 0.02 AR from the Arweave Faucet

  • Save your wallet keys

  • Install Bundlr

npm install -g @bundlr-network/client

  • Fund Bundlr with 0.01 AR

bundlr fund 10000000000 -h https://node1.bundlr.network -w wallet-keys.json -c arweave

  • Ask your Bundlr balance

bundlr balance wallet-address -h https://node1.bundlr.network -c arweave

  • Deploy

bundlr upload-dir ./out -c arweave -h https://node1.bundlr.network -w wallet-keys.json --index-file index.html

Releases

No releases published

Packages

No packages published