CATProtocol / cat-token-box

A monorepo for packages implementing CAT protocol
https://catprotocol.org
MIT License
186 stars 129 forks source link

Issue with Token Minting Process: Multiple Broadcasts and Insufficient Satoshis Errors #28

Closed 0Xmorgan888 closed 1 month ago

0Xmorgan888 commented 1 month ago

I’m having trouble with the token minting process. The application broadcasts the transaction multiple times and often fails with “Insufficient satoshis balance!” errors. After several retries, it eventually succeeds in minting the token.

Steps to Reproduce:

yarn cli mint -i "45ee725c2c5993b3e4d308842d87e973bf1951f5f7a804b21e4dd964ecd12d6b_0" 5 --fee-rate 1500 yarn run v1.22.22 $ node dist/main mint -i 45ee725c2c5993b3e4d308842d87e973bf1951f5f7a804b21e4dd964ecd12d6b_0 5 --fee-rate 1500 Spliting fee in txid: 6d422712fe5c347f81c751a19318a865903005e515fa6df5055ed1cf9b4a0c03 Waiting tx: 6d422712fe5c347f81c751a19318a865903005e515fa6df5055ed1cf9b4a0c03 to be confirmed ... Insufficient satoshis balance! merge token failed! merge tokens failed! retry to mint token [CAT] ... Start merging your [CAT] tokens ... Spliting fee in txid: 9476b8a6c795fbfbd0eab431f4dc8685807bc4727caf79216f8ca86d9efde720 Waiting tx: 9476b8a6c795fbfbd0eab431f4dc8685807bc4727caf79216f8ca86d9efde720 to be confirmed ... Insufficient satoshis balance! merge token failed! merge tokens failed! Minting 5.00 CAT tokens in txid: 46912a06279161a2a0ed5ea068578038780788f83bb96b7f27f4c23d28609ded ... Done in 145.87s.

this is just take fee and waste my FB !

how can i fix it ?

pirateOfGit commented 1 month ago

Did you ever get your tokens ? I am having the exact same issue after having to set up my node and resync for a second time after a different set of problems.