openware / opendax

Open-Source Cloud-Native Digital Asset & Cryptocurrency Exchange Platform
https://www.openware.com/products/opendax
Apache License 2.0
629 stars 540 forks source link

How to configure Blockchains #158

Open Galaxy-Traveler opened 4 years ago

Galaxy-Traveler commented 4 years ago

After rake service:all What's to be done? docker-compose up -d parity Then.....????

alxtrade commented 4 years ago
  1. Config. New blockchain in tower
  2. Config. Currency in tower
  3. Add wallets deposit, hot and fee in tower
  4. Restart with docker-compose up -Vd blockchain
freakcoderz commented 4 years ago

I have this docker error after adding everything. Restarted with docker-compose up -Vd blockchain. My coin isn't one listed, so chose litecoin as the client.

{"level":"WARN","time":"2020-06-17 10:01:10","message":"Error: \n-- 500 Internal Server Error --\n\n-- Request URL --\nhttp://IP:PORT/\n\n-- Request method --\nPOST\n\n-- Request headers --\n{\"Authorization\":\"SECRET\",\"User-Agent\":\"Faraday v0.15.4\",\"Accept\":\"application/json\",\"Content-Type\":\"application/json\"}\n\n-- Request body --\n{\"jsonrpc\":\"1.0\",\"method\":\"getblock\",\"params\":[\"d2d5d58deadf7707a10b530354a1cbf6a18dc7273b9507fd71a533225ed5e7c5\",2]}\n\n-- Response headers --\n{\"date\":\"Wed, 17 Jun 2020 10:01:10 +0000\",\"connection\":\"close\",\"content-length\":\"91\",\"content-type\":\"application/json\",\"server\":\"Somecoin-json-rpc/v1.0.0.0-g\"}\n\n-- Response body --\n{\"result\":null,\"error\":{\"code\":-1,\"message\":\"value is type int, expected bool\"},\"id\":null}\n. Sleeping for 10 seconds"} Any help would be appreciated.

Galaxy-Traveler commented 4 years ago

tower/exchange/currencies/add

Galaxy-Traveler commented 4 years ago

/tower/settings/blockchains/add

http://admin:changeme@xxxcoind:rpcport or http://admin:changeme@ip:rpcport

freakcoderz commented 4 years ago

I have it configured in all places. Blockchain server has http://rpcuser:rpcpassword@IP:Port. The logs don't show the user password part, but assumed it was trunicated

Galaxy-Traveler commented 4 years ago

docker-compose up -Vd dashd ERROR: No such service: dashd