/nextjs-daijs-example

Next.js Dai.js example with IPFS tweaks

Primary LanguageJavaScript

Dai.js example

This example shows how to integrate Dai.js in Next.js. For more info about Dai.js you can visit here.

How to use

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Building for a IPFS deployment

npm run build-ipfs
npm run export
# or
yarn build-ipfs
yarn export

Add output directory to ipfs

ipfs add -r out