Skip to content

Core447/blockchain-demo

Repository files navigation

Blockchain

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

Start the peerjs server

If you want to run the peerjs server locally, follow these steps:

docs: https://github.com/peers/peerjs-server

peerjs --port 9000 --key peerjs --path /blockchain --allow_discovery

Otherwise, make sure to set these environment variables in your .env:

NEXT_PUBLIC_PEERJS_SERVER_IP=peerjs.blockchain.core447.com
NEXT_PUBLIC_PEERJS_SERVER_PORT=443
NEXT_PUBLIC_PEERJS_SERVER_SECURE=true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors