The aim of this project is to build a blockchain-based, distributed system for self-asserted identities for Distributed Online Social Networks (DOSN) in the Sonic ecosystem.
The project has to main folders:
- nodeClient: contains the code of the client
- src: contains the code of the GSLS server
The steps in order to run the project are described in the list below:
- Run the blockchain client (geth)
- Run the GSLS server
- Run the desktop client
In order to run the client, geth is needed.
The command is the following:
geth --fast --cache=512 --rpcapi personal,db,eth,net,web3 --rpc --testnet console
This command should be specified in the terminal and connects to an Ethereum blockchain test node. The command opens also a console to interact directily with the blockchain client.
- Open the project on an editor such as Intellij IDEA or Eclipse.
- Run the project inside the editor
-
From the terminal, go to the
nodeClientrepository. -
Run the following:
npm install -
Then run:
npm start
Once you run npm start a window will open.
You will asked to provide a keystore.json file and a password.
You can use the default keystore called default_key_store.json inside the nodeClient/test/client folder.
The password is 12345678