working
and awaiting-settlement
statuses using the Copper public API. If there are no orders available, the application enters sleeping mode for 10 seconds.awaiting-settlement
status, moves it to the working
status.completed
or error
status.error
status, it fires an error; if it is in completed
, it repeats the whole process starting from the first point.Configure your docker-compose.yml
Provide shards
cu-server
container (in the
example: ${PWD}/key-backups/
). Do not forget to activate the created wallets in the desired platform environment and request to
switch the corresponding vaults to hot if it has not been done before.Configure wallets
wallets-config.js
file contains details of the shards. Below, you will find an example of the configuration with comments:hot-wallet
container (in the example: ${PWD}/wallets-config.js
).As per the example, the resulting file composition on this step looks as follows:Start your service
docker-compose up --build
command.Create withdrawals and sign