ergoplatform / ergo-wallet-app

Ergo Wallet App
https://ergoplatform.org/en/ergo-wallet-app/
Apache License 2.0
96 stars 35 forks source link

Errors whenever i try to send tokens #148

Closed gytis-ivaskevicius closed 1 year ago

gytis-ivaskevicius commented 1 year ago

Just like the title says, I'm mainly getting timeouts tho there were a couple of bad request errors, seems to be an issue with the node. One of the things I noticed that I thought was weird is that 'node url' is set to a specific IP address instead of a domain (159.65.11.55:9053)

MrStahlfelge commented 1 year ago

Hi, please state the errors that you got.

gytis-ivaskevicius commented 1 year ago

Error:

Could not send transaction

Error executing API request to https://api.ergoplatform.com/api/v1/boxes/unspent/byAddress/my-address-which-is-secret?offset=340&limit=20&sortDirection=asc: timeout
MrStahlfelge commented 1 year ago

offset 340 means that you have a lot of unspent boxes and when searching for the box with your token, the explorer gets a timeout. Best is if you consolidate your boxes so you only have a few on that address. At the moment, it is hard to say how much ERG you can send to yourself to only have 100 boxes (which is a good limit to use). Next version 2216 will help by stating an ERG amount to consolidate.

gytis-ivaskevicius commented 1 year ago

How do I resolve these boxes? What are they anyways?

MrStahlfelge commented 1 year ago

best is if you go to the support channels on discord or telegram to get that explained.

you can consolidate boxes by sending amounts of erg to yourself. if you send 100 erg to yourself, the wallet will collect all needed boxes you have to spent and create a new box containing the 100 erg. This way, you converted many small boxes into a single big one.

gytis-ivaskevicius commented 1 year ago

Resolved, send money to myself couple of times :)