DevelBlockchain / bywise

Bywise is an enterprise-grade permissioned Distributed Ledger Technology (DLT), Blockchain for developing solutions and applications. Its modular and versatile design suits a wide range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
https://bywise.org
MIT License
12 stars 1 forks source link
blockchain bywise cryptocurrency cryptography distributed-ledger dlt fullnode nodejs

Bywise Web3

Bywise Fullnode

Bywise is an enterprise-grade permissioned Distributed Ledger Technology (DLT), Blockchain for developing solutions and applications. Its modular and versatile design suits a wide range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.

Setup

System Requirements

This system spec has been tested by many users and validators and found to be comfortable:

You can run Bywise on lower-spec hardware for each component, but you may find that it is not highly performant or prone to crashing.

Installation

  1. Install NodeJS v20 or newer, Install project dependencies:
npm install
npm run build
  1. Create your wallet:
node dist/index.js -new-wallet
  1. Make a copy of .env.examples and rename the copy to .env:
cp .env.example .env
  1. Update the environment variables in .env. You will need the following:
PORT=8080
NODES="http://localhost:8081,http://localhost:8082,http://localhost:8083"
HOST="http://localhost:8080"
SEED="_____________YOUR_SEED______________"
TOKEN="__________RANDOM_STRING____________"
Key Description
PORT The http server port.
NODES List of servers that the node will try to connect to. If your network does not already have other nodes, just leave it empty.
HOST Public server address.
SEED seed generated in the previous step.
TOKEN A string of random characters for generating authentication encryption.

Running

  1. Create your local chain:
node dist/index.js -new-chain local
  1. Run node:
node dist/index.js -log -chain local.json -start