Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet fragmented by all the 1.5 doge outputs #3

Open
natureisbestNFT opened this issue Mar 11, 2024 · 3 comments
Open

Wallet fragmented by all the 1.5 doge outputs #3

natureisbestNFT opened this issue Mar 11, 2024 · 3 comments

Comments

@natureisbestNFT
Copy link

Each single mint produced by 'node dunes.js mintDune' also produces a 1.5 doge change output, until the wallet is totally fragmented. Due to another bug, dunes-cli doesn't even work on such a fragmented wallet, so the whole thing then stops working.

https://github.com/sirduney/dunes-cli/blob/master/dunes.js#L907 says

the total doge we need per mint is the fee, the output and a safety buffer of 1.5 doge so that the change is not taken as fee

But there seems to be a 2 tx process, so in the second stage there doesn't need to be any change, therefore this reason doesn't apply.

If anyone finds wallet software that works for recombining all these utxos, there will be a high fee for listing them all in the tx. It also spams the blockchain with unneeded 1.5 doge outputs, and attempts to recombine them.

@GreatApe42069
Copy link

use wallet split command and split the wallet down to 1

@natureisbestNFT
Copy link
Author

That sounds like a partial workaround. I tried it just now and got {"result":null,"error":{"code":-26,"message":"64: tx-size"},"id":0} so it didn't work in this case. Probably the tx would have been too big. But it looks like by editing the .wallet.json file to do less at a time it works (it might take several steps to do it fully). Thank you.

@GreatApe42069
Copy link

try using my Dunes GUI ( https://github.com/GreatApe42069/dunes-gui.git ) and split the wallet to 3, i had the same problem it froze my minter up because it kept creating utxos during minting and deploying but didn't consolidate them back afterwards. so i split wallet back into 3 and everything started working fine again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants