Bible Pay

Recent Posts

Pages: [1] 2 3 4 5 6 7 8 ... 10
1
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by Rob Andrews on January 24, 2025, 06:58:31 AM »
Sounds good!

So, does it drive demand for BBP by requiring a sanctuary to be hosted by each currency that will be listed?

Up til now I was only thinking about 1) Getting a new groundbreaking feature in so people would actually use BBP (IE maybe first Bitcoin based wallet to host a true DEX inside the core wallet), 2) Possibly helping smaller crypto communities who desperately want to be listed and cant, 3) It may tie in to our future Index product - where - we can issue fractional shares of the wrapped currencies to create a virtual cryptoindex investment fund in the core wallet, but that maintains your keys your money etc.

From that other side of the coin, IE the service side, we definitely need to approach it where its profitable and not free.
Im starting to like your idea, about needing to host a Temple (Im saying Temple because I think we would need them to host our full suite, which is 45MM bbp).  The full suite runs the sidechain also.  So they host a temple, and run a BX, and run a synced full node (of their currency) which provides our ability to do pushTX to them. 
Otherwise, one of our volunteers who have a temple can host a second market, if they feel like it.
Possibly a third option may be for them to pay a monthly fee for one of our Temples to do it all for them, but we would have to work that out.

Foreign community would need to be vetted to be "good" relationship (IE not SatanCoin). 

Note :  We can make so that trading room goes dark or more specifically, just the deposits and withdraws  are disabled when one of their components goes down (it cant operate for example if their full node node is down, because we cant broadcast tx's from a sanc to them). 

2
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by AIDS_SKRILLEX on January 23, 2025, 10:20:21 PM »
Just want to point out my background conscience with God on all this.
I had similar ideas of integrating an exchange into BBP a couple years ago and when I prayed about it I always got a "No, dont do it" from the Holy Spirit - and I think the reason was--  the SEC started to go after many US exchanges and launched strict rules and threw people in jail for violating anti money transmitter laws.  However I did pray about this more and got a green light for programming this inside the wallet.  I feel the reason for the change is Trump is in and all the pro crypto laws are about to take effect.  Im not interested in creating a centralized exchange that holds funds and is hosted on a US domain.  Im only interested in writing one in wallet, because I feel that is what God approved.

Expanding on this idea a little more, I have worked out the technical requirements to improve this idea way more than we have now imho.  And I also did a little research on existing DEXs.  Almost every existing DEX, if not every one, is based on non BTC (ETH or Solana or smart contract compatible chains).  There is one called BISQ that works with BTC, but, it is not really what we are doing, its a P2P where the order must match exactly and it clears a multisig tx.

So thats exciting because it means if we do this in a way that may be multi-coin-compatible, this could really be useful.

Heres what I plan on doing next:

- There will be 3 major places the crypto goes: "INGATE", "TRADING", "OUTGATE".
- To standardize this idea, we will support more than one crypto by symbol.  The symbol must be listed on a BTC style chain (IE btc,doge,dash etc) to work with this DEX.  (Future state we look at XRP XLM ETH etc).
- A community hosts a node, and a BX, and gives us the BX URL, the Node RPC, the symbol and PNG graphics file, and a blurb about the coin.
- Our wallet will start locking foreign currencies on the chain by adding a new standard: a new type of colored coin.
A colored coin has a special address that ends in the foreign ticker and ZZ. 
There will be new rules where colored coins can only be sent from a colored address to a colored address.  Example:
If you own 100 WDOGE (Wrapped BBP DOGE), you can only send it from a WDOGE address to a WDOGE address.
- The ingate will provide a receive address, so you type something like
wrap WDOGE 2.25
The wallet gives you an address to send the DOGE to, once you send it, your atomic tx will receive WDOGE for the same amount.
We will make it so the block CANNOT BE MINED, unless the DOGE is received and signed by the receiving sanc.
- Once you have these colored assets in your wallet, we can make them trade in a trading room, with high liquidity.
Because then we can do fractional fills.  Also, you will get the strong deterministic BBP transactions on those when they are filled.
Meaning that if you had 2.25 WDOGE, and you send those to another BBP wallet each wallet is adjusted with a standard colored tx immediately.
- The Outgate will allow you to perform a BURN of the tx to our BURN address, and this tx will not be mined unless you receive back your exit collateral.
This will be for withdrawals.
- The security will be increased on the Sanc to store the collateral on the chain this way:
We will make a new transaction Type that will only unlock the foreign funds when the colored recipient signs plus a sanc signs.  This will prevent any security issues for every transaction as if a rogue temple comes online and tries to steal a collateral tx that is live in the trades, they wont have the sig of the person with the colored coin.  Also, we will store the collateral in individual deterministic addresses that relate to the original deposit.  Another words, no big hot wallet building up, but instead hundreds of little cold wallets that can only be liquidated using this special type of liquidation transaction.
- The users can trade 24-7 because of the liquidity of the wrapped funds.
- People can go in and out of the funds at any time  - they can trade for a couple hours and withdraw etc.
- UI:  We can make a trading room that will have the ticker banner, a buy order book and a sell orderbook, volume and totals.  A buy and sell button.
This would probably increase the usage of the feature so I'm willing to do it, God willing.

Would this be cool to do?

Sounds good!

So, does it drive demand for BBP by requiring a sanctuary to be hosted by each currency that will be listed?
3
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by Rob Andrews on January 23, 2025, 06:45:49 AM »
No, my address is DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg, but don't worry about sending me anything. It's all good.
Np, sent 775540452d61be65d9da3c95ee1f5d26e45a016bbee4a8a351f3463af5a46ca3.
4
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by AIDS_SKRILLEX on January 22, 2025, 09:14:18 PM »
Hmm, ok, i took a look at the tx and one thing i noticed it didnt have the AltAddress on the first version of it, and of course it wasnt even the right ID (> 0), so I dont think I can find the root cause, but I can put in rules to prevent this issue in the future.  We can validate the tx a little better, before sending the DOGE and committing it, so I will work on that next.

In the mean time I refunded your DOGE from my wallet:

16:22:18
exec senddoge DA6ALPEJQ3DqYvrbFdRHsZKVFDWNJRE9u1 2


16:22:20
{
  "Command": "senddoge",
  "to_address": "DA6ALPEJQ3DqYvrbFdRHsZKVFDWNJRE9u1",
  "amount": 2,
  "TXID": "ca1ac72dd7376062791a79df7783aa74fff4a0cc3695427e0f459a092c469d8b",
  "Error": ""
}

Did I get the address right?  I got it off the one I sold to you (IE one of the other tx Doge AltAddress).

It should be in your BBP wallet.

No, my address is DGjA8S7p1TboyCb3XDi1GG7rEkWjvNAaSg, but don't worry about sending me anything. It's all good.



5
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by Rob Andrews on January 22, 2025, 04:47:44 PM »
Just want to point out my background conscience with God on all this.
I had similar ideas of integrating an exchange into BBP a couple years ago and when I prayed about it I always got a "No, dont do it" from the Holy Spirit - and I think the reason was--  the SEC started to go after many US exchanges and launched strict rules and threw people in jail for violating anti money transmitter laws.  However I did pray about this more and got a green light for programming this inside the wallet.  I feel the reason for the change is Trump is in and all the pro crypto laws are about to take effect.  Im not interested in creating a centralized exchange that holds funds and is hosted on a US domain.  Im only interested in writing one in wallet, because I feel that is what God approved.

Expanding on this idea a little more, I have worked out the technical requirements to improve this idea way more than we have now imho.  And I also did a little research on existing DEXs.  Almost every existing DEX, if not every one, is based on non BTC (ETH or Solana or smart contract compatible chains).  There is one called BISQ that works with BTC, but, it is not really what we are doing, its a P2P where the order must match exactly and it clears a multisig tx.

So thats exciting because it means if we do this in a way that may be multi-coin-compatible, this could really be useful.

Heres what I plan on doing next:

- There will be 3 major places the crypto goes: "INGATE", "TRADING", "OUTGATE".
- To standardize this idea, we will support more than one crypto by symbol.  The symbol must be listed on a BTC style chain (IE btc,doge,dash etc) to work with this DEX.  (Future state we look at XRP XLM ETH etc).
- A community hosts a node, and a BX, and gives us the BX URL, the Node RPC, the symbol and PNG graphics file, and a blurb about the coin.
- Our wallet will start locking foreign currencies on the chain by adding a new standard: a new type of colored coin.
A colored coin has a special address that ends in the foreign ticker and ZZ. 
There will be new rules where colored coins can only be sent from a colored address to a colored address.  Example:
If you own 100 WDOGE (Wrapped BBP DOGE), you can only send it from a WDOGE address to a WDOGE address.
- The ingate will provide a receive address, so you type something like
wrap WDOGE 2.25
The wallet gives you an address to send the DOGE to, once you send it, your atomic tx will receive WDOGE for the same amount.
We will make it so the block CANNOT BE MINED, unless the DOGE is received and signed by the receiving sanc.
- Once you have these colored assets in your wallet, we can make them trade in a trading room, with high liquidity.
Because then we can do fractional fills.  Also, you will get the strong deterministic BBP transactions on those when they are filled.
Meaning that if you had 2.25 WDOGE, and you send those to another BBP wallet each wallet is adjusted with a standard colored tx immediately.
- The Outgate will allow you to perform a BURN of the tx to our BURN address, and this tx will not be mined unless you receive back your exit collateral.
This will be for withdrawals.
- The security will be increased on the Sanc to store the collateral on the chain this way:
We will make a new transaction Type that will only unlock the foreign funds when the colored recipient signs plus a sanc signs.  This will prevent any security issues for every transaction as if a rogue temple comes online and tries to steal a collateral tx that is live in the trades, they wont have the sig of the person with the colored coin.  Also, we will store the collateral in individual deterministic addresses that relate to the original deposit.  Another words, no big hot wallet building up, but instead hundreds of little cold wallets that can only be liquidated using this special type of liquidation transaction.
- The users can trade 24-7 because of the liquidity of the wrapped funds.
- People can go in and out of the funds at any time  - they can trade for a couple hours and withdraw etc.
- UI:  We can make a trading room that will have the ticker banner, a buy order book and a sell orderbook, volume and totals.  A buy and sell button.
This would probably increase the usage of the feature so I'm willing to do it, God willing.

Would this be cool to do?

6
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by Rob Andrews on January 22, 2025, 04:24:25 PM »
10:03:03
exec canceltrade 0


10:03:19
{
  "Command": "canceltrade",
  "Tx": "{\"SymbolBuy\":\"bbp\",\"SymbolSell\":\"doge\",\"Action\":\"buy\",\"id\":\"0\",\"Version\":1,\"Quantity\":10000000,\"Price\":1e-07,\"Status\":\"open\",\"Signer\":\"BG39CtdNTZHRt2tcQ83Qqdkv6EE2Q3Xm8v\",\"Signature\":\"IE0i95DAOBvWkgo7A/W8NZaxOvarMu+UaGxPreFDyVKqZ1uPNiRiGxF8k162RNtH4OjVlOkEzd/PHDWECc0b8Y4=\",\"CollateralBBPAddress\":\"BN3sLhLvhKi3GS331eVXi65xadQtndL5Ef\",\"CollateralDOGEAddress\":\"DNjtGEqNFE2RMbjU8kA88iStj9hcRBd9cs\",\"CollateralTXID\":\"05c9033f695093c5142b5f78cf8bc236a9449654dab3f25ef44fbaa2aa1639ab\",\"ReturnTXID\":\"\",\"BlockExplorerURL\":\"https://live.blockcypher.com/doge/tx/05c9033f695093c5142b5f78cf8bc236a9449654dab3f25ef44fbaa2aa1639ab/\",\"Message\":\"authorize-1737521645\",\"AltAddress\":\"\",\"TXID\":\"\",\"MatchedTo\":\"\",\"FilledQuantity\":0,\"Time\":1737521645,\"Height\":560265,\"Error\":\"Invalid checked base 58 string\"}\n",
  "block_explorer": "https://live.blockcypher.com/doge/tx/05c9033f695093c5142b5f78cf8bc236a9449654dab3f25ef44fbaa2aa1639ab/",
  "Error": "Invalid checked base 58 string"
}
Hmm, ok, i took a look at the tx and one thing i noticed it didnt have the AltAddress on the first version of it, and of course it wasnt even the right ID (> 0), so I dont think I can find the root cause, but I can put in rules to prevent this issue in the future.  We can validate the tx a little better, before sending the DOGE and committing it, so I will work on that next.

In the mean time I refunded your DOGE from my wallet:

16:22:18
exec senddoge DA6ALPEJQ3DqYvrbFdRHsZKVFDWNJRE9u1 2


16:22:20
{
  "Command": "senddoge",
  "to_address": "DA6ALPEJQ3DqYvrbFdRHsZKVFDWNJRE9u1",
  "amount": 2,
  "TXID": "ca1ac72dd7376062791a79df7783aa74fff4a0cc3695427e0f459a092c469d8b",
  "Error": ""
}

Did I get the address right?  I got it off the one I sold to you (IE one of the other tx Doge AltAddress).

It should be in your BBP wallet.

7
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by AIDS_SKRILLEX on January 22, 2025, 09:04:05 AM »

10:03:03
exec canceltrade 0


10:03:19
{
  "Command": "canceltrade",
  "Tx": "{\"SymbolBuy\":\"bbp\",\"SymbolSell\":\"doge\",\"Action\":\"buy\",\"id\":\"0\",\"Version\":1,\"Quantity\":10000000,\"Price\":1e-07,\"Status\":\"open\",\"Signer\":\"BG39CtdNTZHRt2tcQ83Qqdkv6EE2Q3Xm8v\",\"Signature\":\"IE0i95DAOBvWkgo7A/W8NZaxOvarMu+UaGxPreFDyVKqZ1uPNiRiGxF8k162RNtH4OjVlOkEzd/PHDWECc0b8Y4=\",\"CollateralBBPAddress\":\"BN3sLhLvhKi3GS331eVXi65xadQtndL5Ef\",\"CollateralDOGEAddress\":\"DNjtGEqNFE2RMbjU8kA88iStj9hcRBd9cs\",\"CollateralTXID\":\"05c9033f695093c5142b5f78cf8bc236a9449654dab3f25ef44fbaa2aa1639ab\",\"ReturnTXID\":\"\",\"BlockExplorerURL\":\"https://live.blockcypher.com/doge/tx/05c9033f695093c5142b5f78cf8bc236a9449654dab3f25ef44fbaa2aa1639ab/\",\"Message\":\"authorize-1737521645\",\"AltAddress\":\"\",\"TXID\":\"\",\"MatchedTo\":\"\",\"FilledQuantity\":0,\"Time\":1737521645,\"Height\":560265,\"Error\":\"Invalid checked base 58 string\"}\n",
  "block_explorer": "https://live.blockcypher.com/doge/tx/05c9033f695093c5142b5f78cf8bc236a9449654dab3f25ef44fbaa2aa1639ab/",
  "Error": "Invalid checked base 58 string"
}
8
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by Rob Andrews on January 22, 2025, 06:24:09 AM »
i just successfully bought 9000 bbp
And on the issue about not being able to buy with DOGE unless > .10, I had to add that to deter people from creating dust transactions.  The issue is, we have to pay doge about .008 tx fee each way, so i wanted to avoid a situation where we send say .008 collateral then with the tx fee round trip, we would get back less than zero (IE the tx would fail), so with the .10 rule, you basically see this : .108 out, .10 back (something like that) so the tx fee is a small part of it). 

But your right -- I will add a rule to increase the sell minimum in the next version to prevent unbalanced trades. 




9
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by Rob Andrews on January 22, 2025, 06:18:47 AM »

i think i messed up my first sell order and i don't see an id beside it its "0          0"?
sometimes i would do a command and then nothing happens  ie
is that to do with confirmations on my previous txs or something like that?

Let me just address this one by itself, because I see two problems in there.
I think the first one is harmless, when you did the exec placetrade sell 5002 0.0001, the command syntax was correct.
It was supposed to generate a collateral tx, and a tradeID, and I see that didnt happen on the one that returned 0 on the screen, as the whole transaction is empty (no txid, no collateral address), so that one we can either chalk up as network error, or race condition. If you want to check something, go to your bbp data directory, (the same place where debug.log is) and you can go back to that timestamp and check the trading_log.  see if anything is weird in there at that particular timestamp?  Maybe a wallet error or something.  Now usually we handle all the known ones, like not enough balance, or wallet locked, or, in the case of DOGE if you just spent some to buy some BBP, the UTXO is spent and we have to wait 1 more block before successfuly placing another trade.  But that is a known condition so you will see an error saying Unable to create transaction::No utxos - something to that effect.

But moving on to this one:
There was one you placed to buy 1000000 bbp at .00000010.  What I find strange about that one is if you look at the BX, your collateral of 1DOGE was sent here:
https://live.blockcypher.com/doge/address/DNjtGEqNFE2RMbjU8kA88iStj9hcRBd9cs/
(Thats the 'collateral address' of the sanc that accepted it).  So its locked in there where no one can touch it unless the trade goes through, but, it has an id of "0" - which is not right.  That should have an ID > current unix timestamp.
So something mostly worked on that and failed to give you good id.
Can you please try a 'exec canceltrade 0' and tell me if it gives you your 1 doge back?  If it doesnt ill cover it.  But yeah I have to find the debug log and fix that one.
Obviously you can place it again once you get it back.

Moving on to normal trading:
I bought the 5001,5002,5003 trades and got the BBP, so that looks like it worked correctly, yay.

(On that first issue with the completely failed tx, you should not have lost any collateral, btw, otherwise you would have seen "collateralAddressDOGE" or "BBP" populated on that output etc).


10
Active Discussions / Re: BIBLEPAY - DOGE DECENTRALIZED EXCHANGE
« Last post by AIDS_SKRILLEX on January 21, 2025, 10:29:17 PM »
i just successfully bought 9000 bbp
Pages: [1] 2 3 4 5 6 7 8 ... 10