Okay so first went for a dry run,
ran command: highriskstake min_bbp_amount foreign_currency_address foreign_currency_amount commitment_duration_in_days 0
looked good so then ran command: highriskstake min_bbp_amount foreign_currency_address foreign_currency_amount commitment_duration_in_days 1
Wallet used was Ledger live with nano s for foreign currency.
Looks good to me Rob, first i did a dryrun but without bankroll and i saw over 9M console wanted to spend so i did a bankroll 1 6100000
and it took that amount instead.
Dryrun output:
12:01:04
highriskstake 6000000 0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0 1.0093154 90 0
12:01:05
{
"BBP UTXO": "bfcb4630d9e75ecec8fe34770e4ee489d12b1dd56c3ba2c2664a365fca221b38-11",
"BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
"BBP Amount": 6100000.001,
"Foreign Symbol": "ETH",
"Foreign Amount": 1.0093154,
"Foreign UTXO": "6716ec6325d1e29c77c129666692e9d053fb795551d2a9f3c951b6c2f445f60b",
"Foreign Ordinal": 0,
"Foreign Value USD": 2134.680150815593,
"BBP Value USD": 4924.473033761291,
"DWU": 507.4626865671642,
"!WARNING!": "When you promise to lock for 90 days for a high yield reward, you hereby AGREE that you may be PENALIZED by 200% of the TOTAL reward if you spend your UTXO early. If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it. EXAMPLE: You have a 100,000 BBP coin. You lock it for 90 days for a 60% DWU. On the 15th day you try to spend the coin (breaking your obligation). You will be penalized 60%*2=120% of your original UTXO, which is MORE THAN THE ORIGINAL VALUE. Due to our 90% cap, we will charge you a 90% BURN FEE to spend the coin. (If you do not agree please use our conservative staking feature.) Thank you for using BIBLEPAY. ",
"Foreign Address": "0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0",
"Pin": 93154,
"pin_valid": true,
"Error": "",
"Dry Run Mode": true
}
Then i ran it live for testnet:
12:05:32
highriskstake 6000000 0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0 1.0093154 90 1
12:05:34
{
"BBP UTXO": "bfcb4630d9e75ecec8fe34770e4ee489d12b1dd56c3ba2c2664a365fca221b38-11",
"BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
"BBP Amount": 6100000.001,
"Foreign Symbol": "ETH",
"Foreign Amount": 1.0093154,
"Foreign UTXO": "6716ec6325d1e29c77c129666692e9d053fb795551d2a9f3c951b6c2f445f60b",
"Foreign Ordinal": 0,
"Foreign Value USD": 2134.680150815593,
"BBP Value USD": 4924.473033761291,
"DWU": 507.4626865671642,
"!WARNING!": "When you promise to lock for 90 days for a high yield reward, you hereby AGREE that you may be PENALIZED by 200% of the TOTAL reward if you spend your UTXO early. If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it. EXAMPLE: You have a 100,000 BBP coin. You lock it for 90 days for a 60% DWU. On the 15th day you try to spend the coin (breaking your obligation). You will be penalized 60%*2=120% of your original UTXO, which is MORE THAN THE ORIGINAL VALUE. Due to our 90% cap, we will charge you a 90% BURN FEE to spend the coin. (If you do not agree please use our conservative staking feature.) Thank you for using BIBLEPAY. ",
"Foreign Address": "0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0",
"Pin": 93154,
"pin_valid": true,
"Error": "",
"Foreign Ticker": "ETH",
"UTXO Value": 5416.352621472399,
"Results": "The UTXO Stake Contract was created successfully. Thank you for using BIBLEPAY. ",
"TXID": "41cf648c82b51b8c7538f90c829574378cad82b62ad2a38a715fc11ab813bfe0"
}
Looks ok to me.
Wow thats pretty impressive you did this with Eth $5K? Nice.
Well I was going to say we should test premature spending next - but I dont really want you to spend your ETH stake so fast since it will be quite valuable for us to see in the leaderboard for a couple weeks, so could you go ahead and create a few BBP only stakes (highriskstakes that is) BBP only, and let them mature for a few blocks...
Then we can try this mission critical test: Test the premature spending of one, and test the warning page of a couple?
So here is how we can do it:
I think this would be a good time to explain the 3 images in Coin Control: We have the Holy spirit dove (green), that means the high risk stake has matured and can safely be spent.
We have the chained-stake - that means its a high risk utxo stake that is not safe to spend (and we lock it by default).
Then we have the stake with hard-drive-plate symbol (a regular conservative stake) that is locked.
So what Im getting at is if you could please write down the associate BBP amounts for your high risk stakes in notepad just to have them logged first.
Then go into coin control and verify they are locked and that you can see them with the associated icons.
Then take one of your bbp only coins that have the chained-stake (the high risk stake for bbp only) and try to unlock it and spend it (spend just that one coin not a combination of coins) and see if the error message makes sense.
The penalty should be between 50-90% of the utxo (depending on that formula in the wiki page at the bottom in the FAQ).
If you want to spend it you can, and you can see if we charge you the right network fee.
We do enforce this at the network level, so no one can get around it. Anyone who tries to spend that coin anywhere on the network will not be able to because everyone who checks it requires the burn penalty. If you do spend it of course you loose that amount to the burn address- you can go ahead and test that if you want and make sure you lose IE 80% of the coin. Im thinking about capping it at 50% instead because that might cause a propensity for revenue to come in for us (IE if we say we are going to take 90% of someones coin, no one will unlock it early who in their right mind would do that and lose 90% when they can leave it staked and make the massive return they are making etc, so maybe we should cap the penalty at 50%, plus it makes us look to have more integrity). On a side note there is a reason I originally set it so high, because if you do the math on stakes over 40% per year we pay quite a bit per day on those compounded, so thats where that formula came from.