This is a rewrite of pandanite node from c++ into typescript
DO NOT TRY TO USE THIS UNLESS YOU ARE PART OF THE TESTING TEAM. THIS PROGRAM IS INCOMPLETE AND NOT EVEN CLOSE TO BEING READY FOR PRODUCTION USE.
https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-20-04
git clone https://github.com/mrmikeo/pandanite-typescript
Then install the dependencies
npm install
Run in development mode
npm run dev
Run in production mode
npm run prod
--reset :: reset chain
--rollback 10 :: rollback chain 10 blocks
--revalidate :: revalidate blockchain database from genesis & rebuild all balances
--port 3000 :: set port to 3000
--name test :: set node name to test
--network mainnet :: set node network to mainnet
Usage:
npm run dev -- --port 3000 --name test