You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Wisdom Chain is a brand new intelligent contract and communication platform, based on Block Chain, faced to smart city, achieving the Internet of Things for living facilities and interconnection for living information.
It aims to provide distributed data connection services for many intelligent items of human being, in order to share the data conveniently between personal terminal and the city intelligence terminal, and to share the Identity (ID) authentication, and can provide a consistent access ability of privilege data.
As a full set of solution to build an intelligent city information interconnection, it becomes a connector of a massive number of intelligent systems and devices.
The Wisdom Chain, as a bottom supporting system, will be released in the form of Main Chain, supporting parallel running structure of multi-chains and multi level communication protocol, including device interconnection protocol, terminal data sharing, ID authentication and instant communication protocol etc, achieving the network autonomy with the synchronization of node data through the mixture consensus mechanism by the combination of PoW (proof of work) and PoS (proof of stake), finally achieves the main chain faced to the living information interconnection.
WisdomCore-J Deploy
1. Requirements
1.1. Config network firewall
The default ports of Wisdom Chain's P2P and RPC is 19585. When docker container ports are mapped, they can be modified as required.
Please modify the network firewall settings to determine whether to open the port.
1.2. hardware
For fullnode operation facilities, the hardware conditions are suggested as follows:
Disk space recommended more than 500GB, memory 16GB, CPU-8 core.
It can be mapped to different directories as needed.
Among them, wdc_pgsql volumes maps the PostgreSql database data directory. After the docker container is deleted, the directory will not be deleted automatically, and the node data will still be retained.
If you want to start WDC Core completely, please backup the directory and delete or empty it.
Wdc_core volumes map the WDC Core node program log directory.
2.3. ports mapping:
Port mapping of wdc_pgsql is recommended to be mapped to IP address 127.0.0.1 in order to ensure security, and only local access is allowed.
If you do not want to access the database through an external client, you can also remove the port mapping.
The external port numbers of wdc_pgsql and wdc_core can be modified as required.
2.4. environment:
The database username password can be customized, but to ensure that WDC_POSTGRES_USER is consistent with DB_USERNAME, WDC_POSTGRES_PASSWORD is consistent with DB_PASSWORD.
ENABLE_MINING indicates whether to start mining.
WDC_MINER_COINBASE must be set for mining coinbase address, otherwise the node cannot start.
For fullnode that do not participate in mining, an initialization setting is also made.
The value of DATA_SOURCE_URL is interconnected by docker containers without modification.
If you need to modify, make sure that the host name in the URL is the PgSQL container name and that the port is the same as the database port inside the PgSQL container.
3. Start docker image
3.1. start command:
docker-compose -f wdc.yml up -d
(See section 2, YML file for wdc.yml)
The final output of the command is as follows. The table shows that the docker container started successfully.
Creating wdc_core ...
Creating wdc_pgsql ...
Creating wdc_core
Creating wdc_pgsql ... done
3.2. Node Running Check
Command docker ps View container status
The status field is "Up..." and the container is working properly.
3.3. Log Check
Command docker logs -f
View Node Program Console Output
/opt/wdc_logs The directory is the directory of log files of node programs. If YML files are mapped to other directories, please go to the corresponding directory to see.
3.4. Upgrade
stop and delete container docker-compose -f wdc.yml down