2.2.0 • Published 5 years ago

dpks-db v2.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

A Decentralized Blockstack database that stores shared pairs of public key/email for secure email communication among different peers

For having access to the app, install all the required modules with the command:

  • npm install

If there are issues with some packages, just delete node_modules and package-lock files and execute the same command again.

For having full access to the Blockstack app and checking personal pairs from your Blockstack account or other Blockstack users, user should run the script ‘webpack-dev-server’ by executing the command:

  • npm start

For the realtime offline synchronization process among different peers and p2p decentralized database DPK via the GUN protocol, user should run the script ‘node server.js’ by executing the command:

  • npm run serve

It is possible to store the pair in the GUN protocol via npm start, but it will only be synced offline to other peers via 'npm run serve’.

For the parallel process of both Blockstack interface and decentralized DPK gun database, user could run the script ‘concurrently --kill-others \"npm start\" \"npm run serve\"’ by executing the command:

  • npm run dev, even though it is not advised since it uses a lot of memory cache and takes a lot of time to compile.

For building the app, user could run the webpack by executing the command:

  • npm run build

For cleaning the memory cache of the app, user could run the script ‘rimraf dist’ by executing the command

  • npm clean