Bible Pay

Read 31676 times

  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #75 on: May 29, 2022, 01:12:15 PM »
User experience Changes:

You can use my sanc as a place to start testing (and you can use your sanc also, as long as the TestNet Height in the Status page is synced up to the chain height and the rpc changes have been made).
From this site:

https://globalcdn.biblepay.org:8443/gospel/about


We used to have "one" web3 User record for both chains, with a chain field indicator on it, but as of today, I completely moved to the new Two chain model, where TESTNET is on an entirely different sidechain (IE on its own inside biblepaycore).  What this means is you probably lost some of your user settings.

So please change to TESTNET mode (again do it from my sanc),go to User Profile, and re-save your TESTNET nickname and Portfolio Builder BBP testnet address (and avatar).
Then switch to MAINNET, and do the same thing (since these are completely separate chains now).
I just want to have these established so we can have this ready for Portfolio Builder testing and for NFT testing.

Next you can sign your testnet Stake and test portfolio builder, see if the graph works, the Leaderboard works and your position appears?

Next you can try to buy one of the NFTs.  Be sure you have your email address saved on that chain, so that we can test Email Receipts.

Also, note the CHAIN your on when you buy your nfts:  Each chain is distinct, so Mainnet NFTs will be different that testnet NFTs.

Try to create an NFT also (with a picture chosen).

EDIT:
Regarding testnet NFTs, one of the critical tests is to verify the Ownership changes from last owner to new owner and the funds were transferred during the ownership change.

I have a few TestNet nfts created.  Lets try this, will someone buy one and paste the TXID here that you bought it on and the amount, so we can do a 'getrawtransaction txid 1' and look at it.
After one block passes, verify that that particular NFT is in your "My NFT list".  And then I will verify it is Not in my NFT list.  Also once you create a new nft, paste its name here so I can buy yours and see if it appears in my nft list and you can verify you receive the money.





« Last Edit: May 29, 2022, 01:38:09 PM by Rob Andrews »


  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #76 on: June 03, 2022, 01:33:59 PM »
Evenin Brother Rob.

Quote
So I entered a proposal in TESTNET mode, and it went into the chain (I can see it in 'gobject list').  And I waited until the triggers formed, and I can see the trigger on it.  I also voted Yes on it by going to Proposals List in testnet and clicking Vote Yes, and it gave me a command that I pasted into the controller wallet, and that command worked.  Now let me check and see if I got the payment:
getrawtransaction fca8688b199051c16a5cee00f9618a595585b6d11d445336b2ecedad813af79b 1
Hey it worked, great.  See the payment for 100K?  Thats the testnet one.  Im glad Entering proposals works again for our users - they will be able to enter these from any BMS node now (since we have removed the add proposal page from the Sanc itself, for rebase reasons).  And, watchman on the wall works, and the payment emitted in the Monthly superblock.  PASS

I also tested to make a proposal in testnet. Sure enough i see it in the "list proposals" after a while. The url link i had set worked, no problems.

Also i tested to vote and got the RPC command to copy paste and got :
Code: [Select]
20:18:50
gobject vote-many cac48c26fbf806689882f1a3776e1fd8dd63ace0bef89d6f3d6bbd5f320215e2 funding yes


20:18:50
{
  "overall": "Voted successfully 1 time(s) and failed 0 time(s).",
  "detail": {
    "9eed011a5d22f453c40cc162d11f20002b829f8f665c88cdf55e07f38e80ce4b": {
      "result": "success"
    }
  }
}

and with the gobject list command i can see it in the rpc terminal aswell.

Code: [Select]
20:26:53
gobject list


20:26:53
{
  "cac48c26fbf806689882f1a3776e1fd8dd63ace0bef89d6f3d6bbd5f320215e2": {
    "DataHex": "5b5b2270726f706f73616c222c7b2273746172745f65706f6368223a313635343237363338312c22656e645f65706f6368223a313635343838313138312c226e616d65223a224561726c7a54657374303031222c227061796d656e745f61646472657373223a22795a4335644c6132754861474c414639774e595739645842793453767053774a4661222c227061796d656e745f616d6f756e74223a3737373737372c2274797065223a312c22657870656e736574797065223a2243686172697479222c2275726c223a2268747470733a2f2f666f72756d2e6269626c657061792e6f72672f696e6465782e7068703f746f7069633d3839322e3330227d5d5d",
    "DataString": "[[\"proposal\",{\"start_epoch\":1654276381,\"end_epoch\":1654881181,\"name\":\"EarlzTest001\",\"payment_address\":\"yZC5dLa2uHaGLAF9wNYW9dXBy4SvpSwJFa\",\"payment_amount\":777777,\"type\":1,\"expensetype\":\"Charity\",\"url\":\"https://forum.biblepay.org/index.php?topic=892.30\"}]]",
    "Hash": "cac48c26fbf806689882f1a3776e1fd8dd63ace0bef89d6f3d6bbd5f320215e2",
    "CollateralHash": "b34f28f612eb47c3b97f7538a1d4e3d8791297685006789711de612fa4e202a0",
    "ObjectType": 1,
    "CreationTime": 1654279900,
    "AbsoluteYesCount": 1,
    "YesCount": 1,
    "NoCount": 0,
    "AbstainCount": 0,
    "fBlockchainValidity": true,
    "IsValidReason": "",
    "fCachedValid": true,
    "fCachedFunding": true,
    "fCachedDelete": false,
    "fCachedEndorsed": false
  }
}

Next i did the portfolio builder settings on the testnet,  setting up the portfolio builder adress and signed the stakes in the core wallet. The email adress aswell.

I successfully sent 2 portfolio stakes, although i dont think the leaderboard on testnet is showing the correct values for me.  Correction i see the leaderboard has updated and shows the correct values for me. So that checks out.


Next i bought your NFT the "big kitty" 
Code: [Select]
You have successfully purchased this NFT on TXID e150bb0c76eb673ed1b96f10df795b54d892de65841ec63432a8b7331e7190ba.


In the wallet balance i had 10 000tBBP  now i see that it has changed to  9996.67 tBBP but i saw that you had put it up for 5555 tBBP.
Still i can see the NFT in  My NFTs page, so that works.


I ran the getrawtransaction command and got:

Code: [Select]
21:55:09
getrawtransaction e150bb0c76eb673ed1b96f10df795b54d892de65841ec63432a8b7331e7190ba 1


21:55:09
{
  "txid": "e150bb0c76eb673ed1b96f10df795b54d892de65841ec63432a8b7331e7190ba",
  "version": 1,
  "type": 0,
  "size": 244,
  "locktime": 0,
  "vin": [
    {
      "txid": "86584ea4d831ebb19b10d4d5fa0295a077c99ded9ce655135b22941488319625",
      "vout": 1,
      "scriptSig": {
        "asm": "30440220170e8427856c3ade6efd573ea18f54ae4d019aae277080c9ec0a4696fa2ef78d0220745c9f42c84cf7ce1ff70f21a2deac9527dbd4c7352ee484bb440acce52c5a36[ALL] 0211305574a8f9d059a86e91fe8d71ad449658632acc9d5494b6d4796e34bee92f",
        "hex": "4730440220170e8427856c3ade6efd573ea18f54ae4d019aae277080c9ec0a4696fa2ef78d0220745c9f42c84cf7ce1ff70f21a2deac9527dbd4c7352ee484bb440acce52c5a3601210211305574a8f9d059a86e91fe8d71ad449658632acc9d5494b6d4796e34bee92f"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 9996.67490918,
      "valueSat": 999667490918,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 5a616cdd995daa7ea61671dbd7a63db3e982abe3 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a9145a616cdd995daa7ea61671dbd7a63db3e982abe388ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "yUZLNhASGdT6PrY4Ypfv4FySAd1fjLifaj"
        ]
      },
      "txoutmessage": "<XML>BuyNFT</XML>"
    },
    {
      "value": 2.00003082,
      "valueSat": 200003082,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 0000000000000000000000000000000000000000 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914000000000000000000000000000000000000000088ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "yLKSrCjLQFsfVgX8RjdctZ797d54atPjnV"
        ]
      },
      "txoutmessage": ""
    }
  ],
  "hex": "0100000001259631881494225b1355e69ced9dc977a09502fad5d4109bb1eb31d8a44e5886010000006a4730440220170e8427856c3ade6efd573ea18f54ae4d019aae277080c9ec0a4696fa2ef78d0220745c9f42c84cf7ce1ff70f21a2deac9527dbd4c7352ee484bb440acce52c5a3601210211305574a8f9d059a86e91fe8d71ad449658632acc9d5494b6d4796e34bee92fffffffff026660d3c0e80000001976a9145a616cdd995daa7ea61671dbd7a63db3e982abe388ac113c584d4c3e4275794e46543c2f584d4c3e0aceeb0b000000001976a914000000000000000000000000000000000000000088ac0000000000",
  "blockhash": "97a4f66c25449726aea0c8f760b93346512c6e846bc622d3c3fd9f227edda8a2",
  "height": 149831,
  "confirmations": 1,
  "time": 1654285539,
  "blocktime": 1654285539,
  "instantlock": true,
  "instantlock_internal": true,
  "chainlock": true
}

This is all i have for now, i will do some more testing in the coming days.
Have a good one.
« Last Edit: June 03, 2022, 03:01:47 PM by earlzmoade »
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #77 on: June 03, 2022, 07:09:21 PM »
Evenin Brother Rob.

I also tested to make a proposal in testnet. Sure enough i see it in the "list proposals" after a while. The url link i had set worked, no problems.

Also i tested to vote and got the RPC command to copy paste and got :
Code: [Select]
20:18:50
gobject vote-many cac48c26fbf806689882f1a3776e1fd8dd63ace0bef89d6f3d6bbd5f320215e2 funding yes

Hi bro Earlz:
On the proposal, thats great.  I voted yes on it just now too, from 2 sancs.

I will take a look at the rest of this asap.


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #78 on: June 03, 2022, 08:39:23 PM »

Next i did the portfolio builder settings on the testnet,  setting up the portfolio builder adress and signed the stakes in the core wallet. The email adress aswell.

I successfully sent 2 portfolio stakes, although i dont think the leaderboard on testnet is showing the correct values for me.  Correction i see the leaderboard has updated and shows the correct values for me. So that checks out.


Next i bought your NFT the "big kitty" 
Code: [Select]
You have successfully purchased this NFT on TXID e150bb0c76eb673ed1b96f10df795b54d892de65841ec63432a8b7331e7190ba.


In the wallet balance i had 10 000tBBP  now i see that it has changed to  9996.67 tBBP but i saw that you had put it up for 5555 tBBP.


Still i can see the NFT in  My NFTs page, so that works.


I ran the getrawtransaction command and got:

Code: [Select]
21:55:09
getrawtransaction e150bb0c76eb673ed1b96f10df795b54d892de65841ec63432a8b7331e7190ba 1


}

This is all i have for now, i will do some more testing in the coming days.
Have a good one.

Hi Earlz,
I got a chance to look into the NFT you bought.  One thats good you bought the cat, but there was a problem with the tx.
It didnt transfer to me the right amount (I think it sent me 2bbp).
So I was able to debug the problem - the issue is it was using the wrong amount during the Buy operation - I see the problem; fixed.
Code is redeployed.
I just bought an nft in testnet from my VMs metamask, and it did transfer the right amount this time; could you please edit the nft you bought with the cat and make it marketable again?  Then I can try buying it from you.

On PB, thats good you can see them now, I assume that part is working.
I will be working on adding native support for BTC & Doge & Dash next, so we dont have to wrap those coins.


If you want to buy another NFT, I also added the purchase price to the XML info inside the tx.  (We still need to implement Reserve auctions) right now we have Buy It Now only.
I need to recaption "Sponsor Me Now" instead of Buy It Now for orphans.




  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #79 on: June 06, 2022, 03:09:56 AM »
Mornin.

I edited the cat NFT , changed price, changed description a little and put it back up in the market place.
Looks like it worked.

Code: [Select]
Successfully submitted this NFT on TXID cad0dbc94c2e0bf038e3323c72fecb6bc0a1f334ac0e3295a90779dfbd868a4b.

Thank you for using BiblePay Non Fungible Tokens.

NOTE: Please wait for one sidechain block to pass before you can view the NFT.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #80 on: June 10, 2022, 07:51:46 PM »
Mornin.

I edited the cat NFT , changed price, changed description a little and put it back up in the market place.
Looks like it worked.

Code: [Select]
Successfully submitted this NFT on TXID cad0dbc94c2e0bf038e3323c72fecb6bc0a1f334ac0e3295a90779dfbd868a4b.

Thank you for using BiblePay Non Fungible Tokens.

NOTE: Please wait for one sidechain block to pass before you can view the NFT.

Hi Earlz,

So it looks like some of our nfts are being d-dos attacked (I can see a 70GB attack on NFT images and profile pictures). So what I did next is added some code that stores new NFT files a different way which should prevent the d-dos, however these need recreated in order for it to work.  So after I bought the cat I deleted it.

I reentered a new testnet anti-ddos nft if you want to buy it now.
Just verify your balance decreases and let me know when you put it back up for sale.



  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #81 on: June 10, 2022, 07:56:38 PM »
So I'm shooting for a June 30 go-live for Exodus so I am trying to work out any last minute kinks.  One thing I changed that is not deployed yet (we can get it in the mainnet release) is for ROI purposes, I set it up so any Sanctuary owner may run up to 5 sanctuaries per 1 BMS.
The way this works is we require your Sanc port to be 40000, 10001, 10002 , 10003 or 10004.  This way you can effectively spread your VM cost over up to 5 sancs for good ROI when we go live.

Let me take a look at the OP post and Ill send out the last of the test cases.
From what I can see, things look pretty good for go live:
The RandomX mining is working
The daily portfolio builder contract is paying
The turnkey sanc feature appears to be working (Budinga and Rob have one in testnet) , Earlz feel free to test that, to test that just go to Turnkey Sancs and create a new one with tBBP in testnet mode.  Then fund it.
The video streaming appears to be working.
NFTs appear to be working.  Todd created an orphan NFT in testnet.

On a side note, you may notice that your BMS UI menu does not show "portfolio builder" or "NFT"; this happens when your sanc has less than 1 MM bbp in it.
The reason for this is we need the sanc to have a high balance in order to do the NFT operations for the user (it cuts the risk of any nefarious attack vectors by someone with no investment).  Once your balance is > 1MM, your menu will look like globalcdn.biblepay.org.  (Except for the pool.  In order to have the pool show up the config settings for the pool need populated).


« Last Edit: June 10, 2022, 08:01:11 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #82 on: June 18, 2022, 10:34:38 AM »
Thanks to everyone who helped in testnet.

Earlz what is your mainnet receive address so I can send you a reward?



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #83 on: June 18, 2022, 11:33:57 AM »
Thanks to everyone who helped in testnet.

Earlz what is your mainnet receive address so I can send you a reward?


Evenin brother Rob.

my mainnet adress is:
Code: [Select]
BBFfgmZhTdNXPYzk7hZnYA9j27mCSZVYB1
I hope this next biblepay release will  propel biblepay to a bright future.
Thanks for having me man.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2022 - TestNet Release - Exodus
« Reply #84 on: June 18, 2022, 11:59:06 AM »

Evenin brother Rob.

my mainnet adress is:
Code: [Select]
BBFfgmZhTdNXPYzk7hZnYA9j27mCSZVYB1
I hope this next biblepay release will  propel biblepay to a bright future.
Thanks for having me man.

Thanks Earlz, sent you 5MM.