Dewblock is a blockchain cryptocurrency system that is based on dew computing principles. The code is pretty detailed but still not detailed enough for immediate production operation. It is basically a Proof of Concept system. The mechanism of dewblock will be introduced separately. Some information about dew computing can be found in: http://www.dewcomputing.org/
Dewblock is based on Naivecoin. The introduction of Naivecoin can be found in: A tutorial for building a cryptocurrency https://lhartikk.github.io/
Dewblock has two components: Dewblock-cloud-server package and Dewblock-dew-server package. Ideally, Dewblock-cloud-server package should be deployed in a cloud service or a computer that is running all the time and has a fixed IP address so that it can be accessed easily; Dewblock-dew-server package can be deployed in a local computer, such as a desktop/laptop computer or a mobile device. Dewblock-cloud-server package and Dewblock-dew-server package could be stay in the same computer for testing. Different nodes cannot be deployed into the same computer because each node needs to have its unique IP address.
Configuraton files: Dewblock-dew-server/src/config.ts Dewblock-cloud-server/src/config.ts
Detailed configuration guidelines can be found in these files.
Please notice: If more than one machine is involved, config files should use actual IP addresses, not use localhost or 127.0.0.1 at all.
Both packages should be installed in Node.js environment.
Installation command:
npm install
Running command:
npm start
Dewblock system can be operated through an API composed of a group of HTTP commands. These commands can be issued through browsers, designed web forms, or HTTP clients such as curl.
We use curl to describe the API, but it does not mean curl is the only way to operate Dewblock.