Bible Pay

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Budinga

Pages: 1 2 3 [4] 5 6 7
46
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 07, 2025, 08:35:42 AM »
No problem bruvva, just a full end to end example for clarity.
Say a new user wants to move 50 doge to the native doge wallet.
exec getdogebalance
That shows your public doge key.
Send doge there.  After it is more than 1 block do an 'exec getdogebalance' and see the balance has increased (of native doge).


Convert native doge to colored:
Now the user wants to convert 25 doge to colored doge (for trading in the trading room).
exec wrap doge 25
That converts the doge to colored then you can do :
exec getassetbalance doge
Which shows your 25 colored doge balance, while exec getdogebalance now shows 0.

Now you trade for a while and end up with 26 colored doge in 'exec getassetbalance doge'.

To convert back to native doge:
exec unwrap doge 25

Then after that you can do:
exec getdogebalance
And it will be 25 native again.

Also that key will have the same balance as the portfolio builder DOGE key.

PS I will work on portfolio builder rewards next.

Fantastic thank you so much, worked like a charm, i enabled rewards in the portfolio builder but i guess ill have to wait for you to work on it.

This is really good work Rob, the fact we do not need an exchange at all is great.

47
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 06, 2025, 08:31:01 AM »
Once you move your colored doge to native doge the PortfolioBuilder DOGE balance should match the 'exec getdogebalance' as its the same key.

Sorry Rob one more silly question from me :). How exactly do i do that :).

48
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 05, 2025, 08:32:47 AM »
Ahh, yeah thats the whole problem.  It assumes the users Biblepay data folder is always at one of three places (Mac,Win,Linux have different defaults).
Its assuming %appdata%\biblepay for windows.
Will have to make a way for the code to respect the custom folder path in our nice-to-have list.

That also explains why your ipc.dat was not being read- which only affects the old behavior when we had a compiled version of unchained for a short period of time.  IPC is used to determine if Unchained was launched successfully so in your case it would just time out.  (No longer used now, however).

Alright let me know how PB works.  I dont forsee any problems with those 3 offline wallets because the code base for each of those is pretty battle hardened.  Stellar released its own version of an SDK (we are using that) and Ripple is very similar: we use its SDK.  Doge is using NBitcoin, same code that runs on unchained when you send or receive BBP.

Ill try, now i just have to figure out how to convert the doge i traded on our exchange in to doge in the portfolio builder.

49
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 05, 2025, 01:41:35 AM »
I have an ipc.dat file and thats it, and a BMS folder.

I think i solved it. The pb.dat file was in my blockchain folder. I then copied it to the %appdata% biblepay folder and the portfolio builder launched straight away. Maybe something to do with me not using default folders.

50
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 05, 2025, 01:32:16 AM »
When you put in the right phrase, it just returns null meaning "success". 
So that part passed.
Now just go back to the reply and see the question about the pb file, and see whats up with all that part?

I have an ipc.dat file and thats it, and a BMS folder.

51
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 04, 2025, 05:33:29 AM »
Hi Rob,

how do i unlock from the command line when i use the walletpassphrase command it just returns null,

Sorry ignore that last one it does work. But i still get the same error could it be something on my pc blocking it?
I have close - reopened - restarted and i get the same error and also i have the latest client installed.

52
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 04, 2025, 05:24:11 AM »
Hi Bro Budinga,

Lets try this:
1) Completely close Extensions
2) Unlock wallet in BBP core first from command line
3) Open Extensions, and verify it says PB v1.52 on the list
4) Launch PortfolioBuilder

See if it still does that.  I just ran this on my home PC which had a locked wallet and everything worked.

If it still fails, then do this:
Navigate to %appdata%\biblepay
You should have a pb.dat file, open it and see if there are 4 encrypted keys in there.
Thats what its looking for when it opens.

Most likely it was just the order that you did things (wallet has to be unlocked before launching extensions from the left menu).
Once extensions has that file, then you are good in the future as order no longer matters.

PS :  I just remembered the most likely reason.  You have to be on v0.23.9 for all this to work, as that is the latest version and only that version writes the pb.dat file.  You can actually get PB's latest version, even on old BBP wallets, because the Extensions module self upgrades each submodule, so thats possibly whats going on there.

Hi Rob,

how do i unlock from the command line when i use the walletpassphrase command it just returns null, 

53
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: March 03, 2025, 06:54:43 AM »
To test Portfolio Builder:

Note that we have a new version of BBPExtensions, so after this newest upgrade, click on Extensions.
From that list of Apps, click Portfolio Builder.

The new wallet creates a few new keys:
ASSET-XLM
ASSET-XRP
ASSET-BBP

These are intended to be Portfolio Builder private keys (they never leave the machine and are private to your BBP core wallet).
The idea is when you send assets into these keys, they will be countable by Portfolio Builder (which gives you the ability to earn APR% annual rewards from the PB feature).  The rewards come in the form of Staked Block BBP rewards, which are not enabled yet).

So the way multi wallet works is when you launch PB, the BBP core wallet encrypts these 3 keys and sends them to the multiwallet.  Note the multiwallet runs on your machine in C#, so the keys are never exposed to the outside world.

However, with these 3 keys you can now send and receive XRP/XLM/DOGE from the multiwallet.

The code in the multiwallet is smart enough to create a Stellar or Ripple account if one does not exist.  So this only comes into play if you are sending Stellar from a BBP Stellar wallet to another BBP stellar wallet (we detect that and call the stellar c# code to create the new account).  If you fund Stellar from another stellar account they automatically create the account for you.

For Ripple, the XRP network will create an account for you if you fund the wallet with more than 20 XRP into your BBP Ripple wallet.  That is their network minimum (not ours).  Be careful if you plan on using Ripple, to send it more than 20 XRP to the address so that you don't lose the usability of the address.

In Phase 2, I will add the ability to see the APR% and you assessed staking level, and also to receive the extra rewards.

Hi Rob,

This is great , i am trying to test it now but i keep getting an error please see attached image. My wallet is unlocked and i have tried also as Administrator.

Any ideas?

Thanks

54
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: February 27, 2025, 03:36:35 AM »
Ok, glad you got it working.
Just an FYI, both the colored DOGE and the Trading balance (but NOT the native DOGE), those two addresses are internal and should never be out of sync with coin control (as they are regular chain addresses).  If you see an amount in coin control, it must match what is on the RPC.
Unless wallet is syncing or out of sync.  Also, these two addresses use instantsend, so as long as you see a lightning bolt after releasing money to yourself, it is instantly available in the rpc and in the trading room.

The getassetbalance DOGE however, is your private key, but we make a DOGE rpc call to count your UTXOs in real time so that balance can be off for a few minutes if a DOGE block is being mined (for example if you recently spent a DOGE txid, you would see the last balance until the block is mined).  But nevertheless there cannot be a double spend because at the time of spending we spend the confirmed UTXO.

all seems good now. thanks.

55
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: February 25, 2025, 02:41:53 AM »
Hi Rob,

exec getassetbalance trading shows i have loads in it, but when i go to coin control the trading public key shows 1bbp. I just sent another 100k coins to see if it goes up.
Ill give it an hour or so, and see.

Ok now suddenly it seems to be working, maybe i was doing something wrong thanks rob.

56
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: February 25, 2025, 01:45:32 AM »
Hi Bro Budinga,
Can you give me an example or a paste of what output you mean?
Im not sure what you mean.

Heres two things you can try:
1) exec getassetbalance trading
Verify balance is good (^ that command only works on the latest version of the wallet btw).

2) From coin control, find your 'TRADING-PUBLIC-KEY' and verify it has a positive balance.
You may have spent some from it, if so you can just re-send funds to it.
Then you can LOCK the funds with Coin Control to keep that from happening again.
The exchange can spend from it when an order is filled.

Hi Rob,

exec getassetbalance trading shows i have loads in it, but when i go to coin control the trading public key shows 1bbp. I just sent another 100k coins to see if it goes up.
Ill give it an hour or so, and see.



57
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« on: February 24, 2025, 08:06:25 AM »
Hi Rob,

I still keep getting public trading key is 1 when i try to sell some bbp,  and i have funded it a couple of times.

any ideas? wallet is unlocked, and i have waited a few blocks.

58
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« 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.

59
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« 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.

60
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« 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.

Pages: 1 2 3 [4] 5 6 7