Bible Pay

Read 284955 times

  • Rob Andrews
  • Administrator

    • 4077


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
On further inspection https://download.qt.io/archive/qt/
Requested: https://download.qt.io/archive/qt/5.9

Version 5.9 no longer exists on the site. can we substitute another version?

Blessings
oncoapop

Ok this is fixed.
To build biblepay:
git pull origin master

cd depends
make -j 8

Then after it builds the dependencies, you can continue (just in case you want to verify the entire build finishes, then we can have self built binaries in the future).



  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Compile completes and the binaries appear in the directory, so it appears to work!
Great job!
Thanks.
Blessings
oncoapop


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Dear Rob,
Sorry for some reason I could not remember which web wallet was open when I connected to unchained and hence I cannot login with the same credentials.
I have a phone number (provisioned with 12065310541 to BAuYpKr22mkULvTKb3YiqG3TszbgdXzWRR) but as I cannot login, I cannot make calls.
Blessings
Damian

Hi bro Oncoapop,

The way authentication works on Desktop unchained is if you have a New wallet, (and no Unchained keypair yet in your Receiving addresses list) , we create one and then we create an 'unchained.conf' file in the data directory (similar to wallet.dat).
That keypair is then used for authentication and spending within all of unchained.  (Phone calls are billed there and file hosting is billed there too, and you can spend from that key from the unchained wallet page).
If you move your system you would have to copy that unchained.conf and then it would authenticate as you again.
(On a side note I sent you an email a few weeks back using this forum email address you have on file).
You can go to Profile and change your Nickname and click save, and that should save your record and prove when you move machine to machine you are logged in.

One more thing, when you have phone numbers attached to that key they stay with that key, so its very important to keep that file once phone numbers and NFTs are attached to that key.


  • Rob Andrews
  • Administrator

    • 4077


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Dear Rob,
Sorry for some reason I could not remember which web wallet was open when I connected to unchained and hence I cannot login with the same credentials.
I have a phone number (provisioned with 12065310541 to BAuYpKr22mkULvTKb3YiqG3TszbgdXzWRR) but as I cannot login, I cannot make calls.
Blessings
Damian

I just remembered I had fixed a few problems in unchained during the last round of phone testing and maybe I broke login; let me release the new version of unchained with voice mail and we can test login again.

Hang on...



  • Rob Andrews
  • Administrator

    • 4077


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Dear Rob,
Sorry for some reason I could not remember which web wallet was open when I connected to unchained and hence I cannot login with the same credentials.
I have a phone number (provisioned with 12065310541 to BAuYpKr22mkULvTKb3YiqG3TszbgdXzWRR) but as I cannot login, I cannot make calls.
Blessings
Damian

Ok, I released the latest version (6.52) which includes voice mail.
Go ahead and click Unchained from the left menu from your node and it should upgrade (it could take a good 3-4 mins).  Ive got a future feature coming where it will display the upgrade progress but that is hard to release (right now there is a 50% chance you will get a popup telling you that its upgrading); either way just wait til the web page loads.

Then verify its v6.52 on the web UI; then you should be logged in.

Try saving your NickName just to be sure things work then you should be able to test the phone.

I tested this upgrade on my remote test node and it worked.




  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Still did not work for me. Am I supposed to sign in using another wallet (ie metamask) or is that automatic given the .conf file? My unchained BBP address is automatically recognized.

This is output of the BMS window:

info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://0.0.0.0:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\damia\AppData\Roaming\Biblepay\BMS
warn: Microsoft.AspNetCore.Session.SessionMiddleware[7]
      Error unprotecting the session cookie.
System.Security.Cryptography.CryptographicException: The payload was invalid.
   at Microsoft.AspNetCore.DataProtection.Cng.CbcAuthenticatedEncryptor.DecryptImpl(Byte* pbCiphertext, UInt32 cbCiphertext, Byte* pbAdditionalAuthenticatedData, UInt32 cbAdditionalAuthenticatedData)
   at Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase.Decrypt(ArraySegment`1 ciphertext, ArraySegment`1 additionalAuthenticatedData)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
   at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)


Ok, I released the latest version (6.52) which includes voice mail.
Go ahead and click Unchained from the left menu from your node and it should upgrade (it could take a good 3-4 mins).  Ive got a future feature coming where it will display the upgrade progress but that is hard to release (right now there is a 50% chance you will get a popup telling you that its upgrading); either way just wait til the web page loads.

Then verify its v6.52 on the web UI; then you should be logged in.

Try saving your NickName just to be sure things work then you should be able to test the phone.

I tested this upgrade on my remote test node and it worked.


  • Rob Andrews
  • Administrator

    • 4077


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Still did not work for me. Am I supposed to sign in using another wallet (ie metamask) or is that automatic given the .conf file? My unchained BBP address is automatically recognized.

This is output of the BMS window:

info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://0.0.0.0:8080
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\damia\AppData\Roaming\Biblepay\BMS
warn: Microsoft.AspNetCore.Session.SessionMiddleware[7]
      Error unprotecting the session cookie.
System.Security.Cryptography.CryptographicException: The payload was invalid.
   at Microsoft.AspNetCore.DataProtection.Cng.CbcAuthenticatedEncryptor.DecryptImpl(Byte* pbCiphertext, UInt32 cbCiphertext, Byte* pbAdditionalAuthenticatedData, UInt32 cbAdditionalAuthenticatedData)
   at Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase.Decrypt(ArraySegment`1 ciphertext, ArraySegment`1 additionalAuthenticatedData)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
   at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)

Yeah, the key would be to upgrade to 6.5.2 (you can see the version from the Home page).

I dont know what this error means.

Please try to kill BiblePay BMS from task manager and try one more time?

Then paste stack again?

In the mean time, Ill do a little research and see if we have a separate log for upgrading.

Good luck.

Once you are on 6.5.2 I think your login will work fine (even though its just a local login to localhost).



  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Thank you, Rob for your efforts.

The new Biblepay version does not extract the BMS directory at least at the same location. I erased the old BMS directory and reinstalled but the new installation did not contain a BMS directory at ....\AppData\Roaming\Biblepay

Are you kindly able to advise?

Thank you.

Blessings
oncoapop

Yeah, the key would be to upgrade to 6.5.2 (you can see the version from the Home page).

I dont know what this error means.

Please try to kill BiblePay BMS from task manager and try one more time?

Then paste stack again?

In the mean time, Ill do a little research and see if we have a separate log for upgrading.

Good luck.

Once you are on 6.5.2 I think your login will work fine (even though its just a local login to localhost).


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Prior to deletion of the BMS directory, navigating to localhost:8080 actually gave me the option of connecting to a wallet (see screenshot).

Blessings
oncoapop

Thank you, Rob for your efforts.

The new Biblepay version does not extract the BMS directory at least at the same location. I erased the old BMS directory and reinstalled but the new installation did not contain a BMS directory at ....\AppData\Roaming\Biblepay

Are you kindly able to advise?

Thank you.

Blessings
oncoapop


  • Rob Andrews
  • Administrator

    • 4077


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Oncoapop,
I forgot to mention, on the localhost version of Unchained, we no longer use metamask.
It strictly connects to the unchained.conf file, gets your keypair, and considers you logged in if it has a valid keypair.
This keypair links your wallet to the cockroachdb user record instance which gets your Nickname (and allows you to use social media features etc as a community user).


We should not have changed the location of the unzip; I will look at the installer process and for a log and get back to you.

What version are you currently showing on the home page?


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Dear Rob,

As I have deleted my BMS directory, BMS no longer launches but a parallel version on my other desktop shows BiblePay v4.3.2 on the Chrometab and BiblePay Unchained v6.07 on the home page. The wallet shows the correct address BUT a balance of -1.00 BBP.

Interestingly, using the Phone service tab (Phone v.12), it correctly reports my Unchained BBP address (BAu...WRR) AND CORRECT balance (1,335,601... BBP), but fails to make a call as I am not logged in.

Also, when I purchase (Buy it now) NFT Lamb (2,514 BBP), my wallet is charged 2,514 BBP and 4.73 BBP but fails to appear under my NFTs as I am not logged in.

Blessings,
oncoapop

Oncoapop,
I forgot to mention, on the localhost version of Unchained, we no longer use metamask.
It strictly connects to the unchained.conf file, gets your keypair, and considers you logged in if it has a valid keypair.
This keypair links your wallet to the cockroachdb user record instance which gets your Nickname (and allows you to use social media features etc as a community user).


We should not have changed the location of the unzip; I will look at the installer process and for a log and get back to you.

What version are you currently showing on the home page?


Sorry been MIA for a while now and haven't kept up to date on things that are required now I must run sancs with my bbp to earn ? can anyone point me to a post or instructions thank you.


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
These are the steps that I took:

LINUX VPS
https://github.com/biblepay/biblepay/blob/master/BuildBiblePay.txt
(for linux VPS cold sanc)

WINDOWS DESKTOP
From Controlling wallet:
Sanc is called sancname
Sub your own masternode outputs
Sub your sanc’s own IP and port
Sub your own keys


Send 4 500 001 to address created in main wallet on Windows Desktop

In command line (ie Tools… Debug Console)
Masternode outputs
{“40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6”:”1”}

Create the entry in (your home path)\AppData\Roaming\Biblepay masternode.conf
sancname  142.47.109.69:40000 mnp 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6 1

then exec createsanc sancname  1

Output:

22:34:51   {
  "Command": "createsanc",
  "Summary": "Creating protx_register command for Sanctuary sancname  with IP 142.47.109.69:40000 with TXID 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6",
  "bls_public_key": "8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a4292",
  "bls_private_key": "40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95",
  "pro_reg_txid": "0300010001a8a15097145bdf8da35b1072a4c4ee531f66524f248fa3a4370f210b351d04f80000000000feffffff01c4df1703000000001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac0000000000d1010000000000c6771def714c64c47de6d146b64efdb4362bec56cc1599d0694aaad86205e9400100000000000000000000000000000000000000000072cbfd2df18676c6a6be384c1dd700466b1db44c8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a429272cbfd2df18676c6a6be384c1dd700466b1db44c00001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac3307696bf21e8c9cfb6080045b4baf8dad1614aa3ab289bb4f381a2722662d3200",
  "pro_reg_collateral_address": "B5FE5Y312sZeK2QY6ANkECBQpRHqMio223",
  "pro_reg_signed_message": "BRqedxYm24M4uAojESxf7wYDRZWt5CFQqB|0|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|3bc38c2ce6fdfd09f31fb56306483cc286babaa428cd36e22792808d11b12973",
  "pro_reg_signature": "IDMRZ6C4Fn4xGO60F75puzjPB4CottsGXmvfcPPTl6sPLyxp7HeoPcf9QXMvd5iO8L5oZfIrrlK5vIiFIu9uSlA=",
  "sent_txid": "3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0"
}

LINUX VPS
Copy the bls_privatekey to the biblepay.conf of the VPS cold sanc (ie linux)

masternodeblsprivkey=40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95   

restart biblepayd


WINDOWS DESKTOP

exec revivesanc sancname


22:51:00   exec revivesanc sancname

22:51:00   No funds at specified address (main wallet address) (code -32603)
<- send some funds to this address

22:53:20   exec revivesanc sancname

22:53:20   {
  "Command": "revivesanc",
  "Summary": "Creating protx update_service command for Sanctuary sancname  with IP 142.47.109.69:40000 with origin pro-reg-txid=3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0(protx update_service 3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0 142.47.109.69:40000 40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95).",
  "Results": "Sent sanctuary revival pro-tx successfully.  Please wait for the sanctuary list to be updated to ensure the sanctuary is revived.  This usually takes one to fifteen minutes."
}


Blessings
oncoapop

Sorry been MIA for a while now and haven't kept up to date on things that are required now I must run sancs with my bbp to earn ? can anyone point me to a post or instructions thank you.
« Last Edit: August 12, 2023, 10:11:16 PM by oncoapop »


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Great I see several more sanctuaries created!

These are the steps that I took:

LINUX VPS
https://github.com/biblepay/biblepay/blob/master/BuildBiblePay.txt
(for linux VPS cold sanc)

WINDOWS DESKTOP
From Controlling wallet:
Sanc is called sancname
Sub your own masternode outputs
Sub your sanc’s own IP and port
Sub your own keys


Send 4 500 001 to address created in main wallet on Windows Desktop

In command line (ie Tools… Debug Console)
Masternode outputs
{“40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6”:”1”}

Create the entry in (your home path)\AppData\Roaming\Biblepay masternode.conf
sancname  142.47.109.69:40000 mnp 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6 1

then exec createsanc sancname  1

Output:

22:34:51   {
  "Command": "createsanc",
  "Summary": "Creating protx_register command for Sanctuary sancname  with IP 142.47.109.69:40000 with TXID 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6",
  "bls_public_key": "8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a4292",
  "bls_private_key": "40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95",
  "pro_reg_txid": "0300010001a8a15097145bdf8da35b1072a4c4ee531f66524f248fa3a4370f210b351d04f80000000000feffffff01c4df1703000000001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac0000000000d1010000000000c6771def714c64c47de6d146b64efdb4362bec56cc1599d0694aaad86205e9400100000000000000000000000000000000000000000072cbfd2df18676c6a6be384c1dd700466b1db44c8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a429272cbfd2df18676c6a6be384c1dd700466b1db44c00001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac3307696bf21e8c9cfb6080045b4baf8dad1614aa3ab289bb4f381a2722662d3200",
  "pro_reg_collateral_address": "B5FE5Y312sZeK2QY6ANkECBQpRHqMio223",
  "pro_reg_signed_message": "BRqedxYm24M4uAojESxf7wYDRZWt5CFQqB|0|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|3bc38c2ce6fdfd09f31fb56306483cc286babaa428cd36e22792808d11b12973",
  "pro_reg_signature": "IDMRZ6C4Fn4xGO60F75puzjPB4CottsGXmvfcPPTl6sPLyxp7HeoPcf9QXMvd5iO8L5oZfIrrlK5vIiFIu9uSlA=",
  "sent_txid": "3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0"
}

LINUX VPS
Copy the bls_privatekey to the biblepay.conf of the VPS cold sanc (ie linux)

masternodeblsprivkey=40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95   

restart biblepayd


WINDOWS DESKTOP

exec revivesanc sancname


22:51:00   exec revivesanc sancname

22:51:00   No funds at specified address (main wallet address) (code -32603)
<- send some funds to this address

22:53:20   exec revivesanc sancname

22:53:20   {
  "Command": "revivesanc",
  "Summary": "Creating protx update_service command for Sanctuary sancname  with IP 142.47.109.69:40000 with origin pro-reg-txid=3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0(protx update_service 3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0 142.47.109.69:40000 40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95).",
  "Results": "Sent sanctuary revival pro-tx successfully.  Please wait for the sanctuary list to be updated to ensure the sanctuary is revived.  This usually takes one to fifteen minutes."
}


Blessings
oncoapop
« Last Edit: August 12, 2023, 10:11:56 PM by oncoapop »


  • Rob Andrews
  • Administrator

    • 4077


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Thanks for the update Oncoapop.

I got called to be best man at a wedding so things have been a little behind here, but I'm checking on this today.