App: Can't add Liqudity to BTC Pool

Created on 8 Apr 2021  Â·  7Comments  Â·  Source: DeFiCh/app

What happened:

I unlock the Wallet. Went to "Liquditiy" and select the BTC Pool. I select add more, and then select the Amount.
When clicking on Next and execute, to add the Liquidity I receive the following error:
After showing the Progress "UTXO vorbereiten
Liquidität wird hinzugefügt"

The Error appears:
Bitte warte bis deine Transaktion dem nächsten Block hinzugefügt wurde, bevor du mit einer neuen Transaktion fortfährst.

What you expected to happen:

Transaction gets through.
Other transactions, SWAP e.g. are working.
I Just resynced!

How to reproduce it (as minimally and precisely as possible):

What are your environment parameters?

  • DeFi Wallet Version: 2.3.3
  • Operating System (OS): Mac OS 11.2.3

Anything else we need to know?:

Bildschirmfoto 2021-04-08 um 15 24 09
applog.log

kinbug needtriage omac versio2.3.3

All 7 comments

@dell1503: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

When you say SWAP work fine, is it on the same address? I just wonder if maybe that one does not have the utxo dfi to pay for the transaction.

Swap from defi to btc worked on the same wallet.
Or do you mean the reward Adresse?

According to Wiki it could help, if you send some DFI within your wallet to your own address.
I am not a developer, but I think it is worth a try.

https://defichain-wiki.com/wiki/DeFi_Wallet_error_messages#Please_wait_until_your_transaction_has_been_added_to_the_next_block_before_proceeding_with_a_new_transaction.

Hi @dell1503 , it’s likely that you've insufficient utxoDFI balance (min. 1 DFI) — which is required to perform swap and all other functions. DFI exist in 2 forms; utxoDFI and accountDFI. utxoDFI is used to pay for transactions fees while rewards received from liquidity mining (for example) are in accountDFI. You can freely convert between the 2 anytime — at a 1:1 ratio. To convert accountDFI to utxoDFI, the simplest way would be via DeFi Wallet app. 

Firsty, check via CLI: 
getbalance — utxoDFI
gettokenbalances — accountDFI

From your output

gettokenbalances
[
  "3.123456768@0", — accountDFI
  "XXXXXXXXXX@2",
  "XXXXXXXXXX@5"
]

Send 1 DFI to yourself:

  1. copy your address (the one that you're planning to use to add liquidity)
  2. send DFI
  3. 1 DFI
  4. Paste the address
  5. Try the function again

By sending to yourself, you're converting your accountDFI to utxoDFI. utxoDFI is used for transaction fees.

Regarding the issue v2.3.3 Unable to add liquidity, we can further discuss on the issue there. We would like to keep same issues in one thread. Thank you.

Hi @dell1503 , it’s likely that you've insufficient utxoDFI balance (min. 1 DFI) — which is required to perform swap and all other functions. DFI exist in 2 forms; utxoDFI and accountDFI. utxoDFI is used to pay for transactions fees while rewards received from liquidity mining (for example) are in accountDFI. You can freely convert between the 2 anytime — at a 1:1 ratio. To convert accountDFI to utxoDFI, the simplest way would be via DeFi Wallet app.

Firsty, check via CLI:
getbalance — utxoDFI

gettokenbalances — accountDFI

From your output


gettokenbalances

[

  "3.123456768@0", — accountDFI

  "XXXXXXXXXX@2",

  "XXXXXXXXXX@5"

]

Send 1 DFI to yourself:

  1. copy your address (the one that you're planning to use to add liquidity)

  2. send DFI

  3. 1 DFI

  4. Paste the address

  5. Try the function again

By sending to yourself, you're converting your accountDFI to utxoDFI. utxoDFI is used for transaction fees.

Regarding the issue v2.3.3 Unable to add liquidity, we can further discuss on the issue there. We would like to keep same issues in one thread. Thank you.

Thank you, where can I see the right source address?
I have multiple DEFI adress?
Is it the reward address?

Hi @dell1503 , you can try this via CLI:

listaccounts {} false false true — breakdown of your token(s)

All the addresses you see are addresses with tokens on it, generally I use only 1 or max 2 addesses so I do not get confused. To remove addresses you can cancel request, and to add you can manually add them back.

#4 Receive   Cancel request

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kolibri1990 picture Kolibri1990  Â·  10Comments

RobinTorque picture RobinTorque  Â·  6Comments

RobinTorque picture RobinTorque  Â·  3Comments

lraphael picture lraphael  Â·  10Comments

jpressler picture jpressler  Â·  7Comments