For the purpose of the Etheregram project, we run two celar, clients and hardcode their public address in the bot. We expect that in some day it will be possible for a user to sign the transaction and send it to celar network without running own instance of celar client that.
For now we launch two celar nodes and hardcode account public keys it the app.
In order to launch the project with your own celer clients and keystore
accounts you will need:
-
Clone Celer client
-
Generate two
keystore
using geth, save it askey-A.json
andkey-B.json
. Remember password, you will need it further to launchceler_client
-
Deposit test ether( ropsten) to accounts from
keystore
-
Launch two instances of celer client
./celer_client_mac -keystore key-A.json -config profile.json -port 30000 ./celer_client_mac -keystore key-B.json -config profile.json -port 30001
-
Update frontend file, instead of
window.eth2celerhost = { "149960814b05d5560bba5000f6c9852c250611bd": "https://ethergram.tk/c0", "f6cdf7cdc1d804765c481d03ce0e545d073219d9": "https://ethergram.tk/c1" };
Put
window.eth2celerhost = { "you-public-address-from-key-A.json": "http://localhost:30000", "you-public-address-from-key-B.json": "http://localhost:30001" };
TODO: Sequence diagram
TODO: Sequence diagram
TODO: Sequence diagram