Bible Pay

Read 28146 times

Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #30 on: February 04, 2025, 10:29:19 PM »
no there are no unconfirmed tx on the doge address Its just random if i spam exec getdogebalance eventually it works sometimes it works first try

Code: [Select]
23:35:47
Executing command using "" wallet


23:35:47
exec getdogebalance


23:35:49
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0.2744
}


23:35:50
exec getdogebalance


23:35:50
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:51
exec getdogebalance


23:35:51
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:52
exec getdogebalance


23:35:52
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:53
exec getdogebalance


23:35:53
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:54
exec getdogebalance


23:35:54
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:55
exec getdogebalance


23:35:55
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:55
exec getdogebalance


23:35:55
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:56
exec getdogebalance


23:35:56
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:57
exec getdogebalance


23:35:57
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:58
exec getdogebalance


23:35:58
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0
}


23:35:59
exec getdogebalance


23:36:00
{
  "Command": "getdogebalance",
  "address": "DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg",
  "block_explorer": "https://live.blockcypher.com/doge/address/DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg/",
  "balance": 0.2744
}
« Last Edit: February 04, 2025, 10:37:21 PM by AIDS_SKRILLEX »


  • Budinga
  • Jr. Member

    • 50


    • 3
    • January 28, 2020, 02:21:29 AM
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #31 on: February 05, 2025, 04:34:25 AM »
Ahh, thank you for the screenshots.
Actually its really good to see that you both had the same problem, because ironically I have not had it from my VM or my home pc.

Its possible that I fixed something that did not get in the latest release; really busy at work, so Im going to have to try to reproduce this on my laptop which is not using the compiled version.

Give me a couple days for things to settle down and ill be back asap.

PS In theory you do not have to list orderbook or create atomic from command line (command line should only be needed for the exec getdogebalance etc).  Aids_S,  out of curiosity, on those instances where you had a 0 return for getdogebalance, were those after spends or were they just random problems?  (Cause that should only happen after a spend). 

PS II:  One other thing can you both try in the mean time:  There is a timer meant to save resources, inside the Exchange page inside the order book grid.
It goes to sleep once every few mins and only wakes up if there is mouse move Over the top or bottom grid.  Try this, after the orderbook goes blank (and after 2+ mins after a cold boot) click around in the grid area and wait a few secs and see if that fixes it?

Hi Rob,

i tried clicking around and restarting the node a few times no luck its just blank.


  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #32 on: February 08, 2025, 09:47:46 AM »
Hi All!

So I believe I found the problem.
I'm testing the solution now.

We should have an update very soon.



  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #33 on: February 08, 2025, 10:48:11 AM »
BIBLEPAY 0.22.9 - Mandatory Upgrade

- Add stability to exchange RPC functions.

https://github.com/biblepay/biblepay/releases/tag/v022.9-Mandatory


All, please upgrade to the latest version (available on the github link above).
Now theoretically all of the commands should be stable.
Aids, can you please check your 'getdogebalance' is stable 7 times in a row during a retest?
And now, Prof Budinga, you can try checking the Exchange room stays populated.
Note that anyone who has an encrypted wallet, you do have to unlock the wallet for the exchange to function.
There is still a 2minute delay after booting the wallet (for the exchange to populate); once that expires it repopulates as you move the mouse over the grids.




  • Budinga
  • Jr. Member

    • 50


    • 3
    • January 28, 2020, 02:21:29 AM
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #34 on: February 10, 2025, 04:49:19 AM »
BIBLEPAY 0.22.9 - Mandatory Upgrade

- Add stability to exchange RPC functions.

https://github.com/biblepay/biblepay/releases/tag/v022.9-Mandatory


All, please upgrade to the latest version (available on the github link above).
Now theoretically all of the commands should be stable.
Aids, can you please check your 'getdogebalance' is stable 7 times in a row during a retest?
And now, Prof Budinga, you can try checking the Exchange room stays populated.
Note that anyone who has an encrypted wallet, you do have to unlock the wallet for the exchange to function.
There is still a 2minute delay after booting the wallet (for the exchange to populate); once that expires it repopulates as you move the mouse over the grids.

Looks like it has now been solved. Maybe just a suggestion maybe have the amount of BBP and Doge available for trade on the exchange page.


  • talisman
  • Jr. Member

    • 64


    • 17
    • March 26, 2018, 07:42:24 AM
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #35 on: February 10, 2025, 02:16:55 PM »
Hi Guys!

Sorry, late in the game - hectic these days. I just downloaded 0.22.9 and here is what I have seen so far:

- Exchange showed up fine, populated.
- TRADING-PUBLIC-KEY and TRADING-ASSET-DOGE all there without hassle, cool. For some reason I have 2 addresses labelled TRADING-ASSET-DOGE, don't know if that is normal.
- I transferred some BBP to my TRADING-PUBLIC-KEY
- Checked the board: SELL @ 0.00002939 and BUY @ 0.00002700
- Placed a SELL order for 1000 BBP @ 0.00002900, showed up fine (received warning that min order size is 1000 BBP when tried with lower amount)
- Placed another SELL order for 1000 BBP @ 0.00002700 (where the best BUY was at) : My order just got listed without execution. I understand the book only executes matching orders; so was not surprised to see my order not get executed. Still, kind of awkward to see SELL @ 0.00002700 and BUY @ 0.00002700 on the book :)
- Placed another SELL order for 14777 BBP @ 0.00002700 (to match a standing BUY order on the book) : executed fine, and the BUY order was deleted from the book.
- Cancelled my non-matching SELL order @ 0.00002700 : deleted from the book, good.
- Attempted to mess the book buy placing a non-matching SELL order @ 0.00002600 under the price of the best BUY order @ 0.00002700 : OMG it is listed :)

I think we need to be able to prevent that from happening, until exact matching requirement is lifted.

I will keep playing around and let you know if I come across other glitches. But, all in all, it is WONDERFUL to see this capability in the wallet. Thanks a lot Rob !

 


  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #36 on: February 10, 2025, 03:30:35 PM »
Looks like it has now been solved. Maybe just a suggestion maybe have the amount of BBP and Doge available for trade on the exchange page.


Ahhh,  great to see that solved it, Praise God!

Yes, good idea, notice I left an area available for metrics.  I also left a little line in between the Bid and Ask where we can put in the current Midpoint (IE the current price).

- Add some volume, price and metrics to the top right and mid pane
- Implement Fractional fills would be sweet



  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #37 on: February 10, 2025, 03:33:32 PM »
Hi Guys!

Sorry, late in the game - hectic these days. I just downloaded 0.22.9 and here is what I have seen so far:

- Exchange showed up fine, populated.
- TRADING-PUBLIC-KEY and TRADING-ASSET-DOGE all there without hassle, cool. For some reason I have 2 addresses labelled TRADING-ASSET-DOGE, don't know if that is normal.
- I transferred some BBP to my TRADING-PUBLIC-KEY
- Checked the board: SELL @ 0.00002939 and BUY @ 0.00002700
- Placed a SELL order for 1000 BBP @ 0.00002900, showed up fine (received warning that min order size is 1000 BBP when tried with lower amount)
- Placed another SELL order for 1000 BBP @ 0.00002700 (where the best BUY was at) : My order just got listed without execution. I understand the book only executes matching orders; so was not surprised to see my order not get executed. Still, kind of awkward to see SELL @ 0.00002700 and BUY @ 0.00002700 on the book :)
- Placed another SELL order for 14777 BBP @ 0.00002700 (to match a standing BUY order on the book) : executed fine, and the BUY order was deleted from the book.
- Cancelled my non-matching SELL order @ 0.00002700 : deleted from the book, good.
- Attempted to mess the book buy placing a non-matching SELL order @ 0.00002600 under the price of the best BUY order @ 0.00002700 : OMG it is listed :)

I think we need to be able to prevent that from happening, until exact matching requirement is lifted.

I will keep playing around and let you know if I come across other glitches. But, all in all, it is WONDERFUL to see this capability in the wallet. Thanks a lot Rob !

Ahh, thanks for testing and the compliments, sweet!
Notice that I did take into consideration the ability to list another ticker in the future.  Most of the plumbing is there.

I havent dug in to your details too far yet: but notice that when you place an order that matches another order and both are your own (IE the flags are M and M) there is an area of the code where it either cancels both automatically, or ignores them (cant remember which one it is) because it results in an unfillable atomic tx, so that may explain that one exception above.  But yeah everything else should be the "real deal". 

I am going to work on fractional fills soon as that would be exciting to get in there.

Glad we did it, as it provides some value to BBP (rather than just another clone coin); plus Bololex has not come back. 

So im just reading through your message Talisman and on the two addresses for TRADING-ASSET-DOGE, can you paste the pubkeys?  I just want to see if they both end in DGZZ.  That is weird, because we check to see if you have one before we mine a new one.   It should be OK though as when the wallet goes to spend a colored coin, it searches all the DGZZ addresses for it (IE the same type of coin that is being spent in the trading room).  Need to make it so it lists the pubkey on the 'getassetbalance doge' output as well (TODO).

Very cool on the test results, they seem OK.  Now I will get on to fractional fills soon.  When fractional fills work, there will no longer be crosses in the order book.


« Last Edit: February 10, 2025, 04:03:17 PM by Rob Andrews »


  • talisman
  • Jr. Member

    • 64


    • 17
    • March 26, 2018, 07:42:24 AM
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #38 on: February 10, 2025, 04:26:00 PM »
Hi again Rob !

Here are the two TRADING-ASSET-DOGE addresses I see in my wallet:

B98GozkCagidcdFMY2zyKf7k3ioud2DgZz
BM9NqJq4JEDcGuEa1oR3vcpKgLPaoeDgzz



Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #39 on: February 10, 2025, 10:15:17 PM »
exec getdogebalance works every time now

the exchange is populated

i attempted to buy all open sell orders and was able to but my exec getassetbalance DOGE only was deducted from twice... i still have over 6 but spent more than that... i have all the bbp

https://chainz.cryptoid.info/bbp/address.dws?BG39CtdNTZHRt2tcQ83Qqdkv6EE2Q3Xm8v.htm

https://chainz.cryptoid.info/bbp/block.dws?564829.htm

idk what im looking at


  • Budinga
  • Jr. Member

    • 50


    • 3
    • January 28, 2020, 02:21:29 AM
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #40 on: February 11, 2025, 01:59:01 AM »

Ahhh,  great to see that solved it, Praise God!

Yes, good idea, notice I left an area available for metrics.  I also left a little line in between the Bid and Ask where we can put in the current Midpoint (IE the current price).

- Add some volume, price and metrics to the top right and mid pane
- Implement Fractional fills would be sweet

So now ive managed to sell some bbp and if i do
exec getassetbalance DOGE

I have a balance i dont seem to be able to buy back now, it says my balance is 0.


  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #41 on: February 14, 2025, 11:17:21 AM »
Hi again Rob !

Here are the two TRADING-ASSET-DOGE addresses I see in my wallet:

B98GozkCagidcdFMY2zyKf7k3ioud2DgZz
BM9NqJq4JEDcGuEa1oR3vcpKgLPaoeDgzz
Yeah its weird because I havent seen that happen to any of my 3 installs (it may be a race condition).
Can you tell me exactly what is the label on each of them?  "TRADING-ASSET-DOGE"?  Yeah, they were both mined as DGZZ DOGE asset addresses so they are valid.  Technically the wallet should work fine with two of those.  I will add code very soon to show the address in 'exec getassetbalance' that goes along with the amount.



  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #42 on: February 14, 2025, 11:21:06 AM »
exec getdogebalance works every time now

the exchange is populated

i attempted to buy all open sell orders and was able to but my exec getassetbalance DOGE only was deducted from twice... i still have over 6 but spent more than that... i have all the bbp

https://chainz.cryptoid.info/bbp/address.dws?BG39CtdNTZHRt2tcQ83Qqdkv6EE2Q3Xm8v.htm

https://chainz.cryptoid.info/bbp/block.dws?564829.htm

idk what im looking at

As you said above when you buy or sell in the trading room, it only affects your wrapped DOGE (IE getassetbalance doge) balance, but only when a fill occurs.
This way you can have standing orders as long as your balance is greater than the sum of the standing orders.
This allows them to fill when you are offline.

For orders that fill when you are offline, the trades still occur and your wrapped balance is subtracted atomically with the other traders tx - even when offline.

However, if a traders wrapped DOGE cannot pay for the order in the orderbook, the order is automatically canceled, so no trades can occur where users do not have funds to cover them (they will be skipped then canceled right away).

So your balances should reflect what was "transacted" up to this point.

« Last Edit: February 14, 2025, 11:22:46 AM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4229


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #43 on: February 14, 2025, 11:24:14 AM »
So now ive managed to sell some bbp and if i do
exec getassetbalance DOGE

I have a balance i dont seem to be able to buy back now, it says my balance is 0.

I do not know what you mean; you would have to start over and write all the tx's down, with their respective debits and credits and addresses.
The amount should be in either your DOGE,BBP, or Wrapped DOGE balance though (it should not be possible to be missing).
You can go through all your tx's in the tx history to see what you traded by double clicking and reading the XML.



Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Reply #44 on: February 14, 2025, 11:56:58 AM »
Rob what I was saying is I did like 13-14 trades all purchases i started with about 7 wrapped doge each trade was for about 0.5 doge only 2 trades deducted from my wrapped doge balance I still have 6 wrapped doge even though i should have 0 but i did get all of the bbp...