181
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: January 31, 2025, 02:17:21 PM »I will say the majority of the time exec getdogebalance returns 0 even though the balance is 7.3
then exec wrap doge returns this
14:03:37
exec wrap DOGE 5
14:03:37
{
"Command": "wrap",
"id": "0",
"Tx": "{\"SymbolBuy\":\"\",\"SymbolSell\":\"\",\"Action\":\"\",\"id\":\"0\",\"Version\":1,\"Quantity\":0,\"Price\":0,\"Status\":\"NA\",\"Signer\":\"\",\"Signature\":\"\",\"CollateralBBPAddress\":\"\",\"CollateralDOGEAddress\":\"\",\"CollateralALTAddress\":\"\",\"CollateralAssetAddress\":\"\",\"CollateralTXID\":\"\",\"ReturnTXID\":\"\",\"BlockExplorerURL\":\"\",\"Message\":\"\",\"AltAddress\":\"\",\"TXID\":\"\",\"MatchedTo\":\"\",\"FilledQuantity\":0,\"Time\":1738350217,\"Height\":0,\"Error\":\"\"}\n",
"Error": ""
}
or am I missing steps?
1) I have not had that problem where getdogebalance returns 0 most of the time, however I think I know what it may be.
The only time getdogebalance is 0, should be after you spend the doge on an unconfirmed tx for 1 block.
Fortunately, once you wrap the DOGE into BBP-DOGE, you do not have to use the "real" DOGE again, so that problem will be minimalized.
Try this, if you go to your BBP Doge address on blockcypher:
https://live.blockcypher.com/doge/address/DSb6QT7eEsMLFgL4vzPKTBqgQnqEDLPmGE/
Whenever you have an unconfirmed tx, you may see the 0 balance.
If you have everything confirmed, you should see the right balance.
Wait for that to be stable before moving to the WRAP step.
2) Now do the exec wrap command and it should wrap.
Once you wrap, dont do any more DOGE wraps until your balance is > 1 confirm again (or you may see the 0).
3) You can then do this:
exec getassetbalance doge
And now see the total of your wrapped address (the DOGE is either in one place or another, but never missing).