Create some siren compliant comit_node http api response prototypes that contains fund, deploy, ~redeem~, refund action for all supported ledgers and assets (bitcoin, ether, erc20).
Given the response from GET /swaps on the comit_node: if a ~refund action is present and it is possible to trigger it, do it~, else, if a ~deploy~, fund or redeem action is available, trigger it.
trigger it = fetch the details of the action then proceed to execute it on the ledger.
Note: use the ledger wallets created with #3 and #6.
Refund tracked with #20
Deploy & ERC20 tracked with #21
Create some siren compliant comit_node http api response prototypes that contains fund, deploy, ~redeem~, refund action for all supported ledgers and assets (bitcoin, ether, erc20).
Given the response from
GET /swaps
on the comit_node: if a ~refund action is present and it is possible to trigger it, do it~, else, if a ~deploy~, fund or redeem action is available, trigger it.trigger it = fetch the details of the action then proceed to execute it on the ledger.
Note: use the ledger wallets created with #3 and #6.
Refund tracked with #20 Deploy & ERC20 tracked with #21
Edit: split refund and erc20 in other issues