This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
trade_portal_coin_recovery [06/05/2021 11:34] – created gfactor | trade_portal_coin_recovery [10/06/2022 14:50] (current) – [LTC, DOGE, DGB, or RVN Recovery] caldescent | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{: | {{: | ||
- | There is currently a bug in the core that can cause it to go into the BOB_REFUNDED state even though the coins have sold. Generally calling the `redeemAll` API should be enough to credit the missing | + | ===== LTC, ARRR, DOGE, DGB, or RVN Recovery ===== |
- | You should be able to run this command directly in a terminal window. It has to be on the same machine that you originally listed the QORT for sale on, the core must be running, and the `db` folder in your qortal directory must not have been replaced | + | If you are buying |
- | ```curl -X GET "http://localhost: | + | If for some reason you have not received the LTC / ARRR / DOGE / DGB / RVN refund (or the purchased QORT) after 2 hours, you can call the refundAll API to retry any failed refunds. |
- | Alternatively, you can go to the API documentation via this link, click "Try it out", then " | + | For this, you will need your node's API key, which can be found in the apikey.txt file in the folder that you installed the core. This will be the same place that you have the qortal.jar and db folder. Copy the contents of this apikey.txt file to your clipboard, then visit this link: |
- | http:// | + | |
+ | [[http:// | ||
+ | |||
+ | Under "POST / | ||
+ | |||
+ | `true` will be returned if anything was able to be refunded. `false` will be returned if there is nothing to refund. Alternatively, | ||
+ | |||
+ | As an alternative to the link above, you can use the command line (replace `apiKeyGoesHere` with your API key): | ||
+ | |||
+ | '' | ||
Either method is fine and they both achieve the same result. | Either method is fine and they both achieve the same result. | ||
- | If you have replaced the db folder since originally listing the QORT, there are a couple of possible options for recovery: | ||
- | 1. If you still have a copy of the old db folder, just stop the core, then rename | + | If refundAll returned `false`, |
+ | |||
+ | Under "POST / | ||
+ | |||
+ | The command | ||
+ | |||
+ | '' | ||
- | 2. If you don't have the old db folder, search your system for both `TradeBotStates.script` and `TradeBotStates.json`. These would normally be found in your qortal directory, or in the `qortal-backup` subfolder. You would then need to import | + | Once archived trades are imported, |