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 - iamredbar

Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13
106
Stakeholder Proposals / Re: Proxy: cryptobridge
« on: February 13, 2019, 04:03:12 am »
I am glad to see that CryptoBridge as an entity is going to be more involved. +5%

107
Stakeholder Proposals / Re: [Worker] Bitshares UI Worker Proposal for 2019
« on: February 11, 2019, 11:58:19 pm »
As always, you have my support!

108
General Discussion / hitBTC having BTS withdraw issues
« on: February 08, 2019, 04:24:52 pm »
Should we have someone from the community reach out for assistance?


109
Meta / Forum activity is slow, how to improve?
« on: February 07, 2019, 06:29:01 pm »
I regularly check this forum a few times a day and have noticed that there isn't a whole lot of activity going on. I would like to change that.

Is there something that we can do as a community to improve the activity on the forum? Are there suggestions from anyone here that would improve this?

I do not like to complain without having a solution in mind, so I will tell what I am going to do. I plan on posting 3-4 times to Twitter per week about bitsharestalk.org and the different things that are going on here. A few focal points that I think are key are the General Discussion board, Stakeholder Proposals board, and the Chinese Community board. These boards are where a majority of new information comes from.

Are there other things that we should highlight as a community?

Please, further the discussion below.

110
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 04, 2019, 04:16:53 am »
I now have the contract running with an autoreboot if it crashes. The contract should be up all the time! When I take it down, I will post it here.

111
General Discussion / BTS volume on Binance...
« on: February 03, 2019, 04:31:58 pm »
Look at that volume candle on Jan 7th... That is the most volume in a single day than ever before on Binance, and it barely moved the price. This looks to me like a whale accumulating.


112
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 03, 2019, 03:51:00 pm »
You can add the expected transfer fee as deduction to payout, no reason to stop due to that

I know I could, but I want to keep the fees as low as possible to incentivize. Making the contract address a LTM is a good place to start.

113
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 02, 2019, 07:36:50 pm »
Alright, I am turning it back online. I added type checking when parsing the memo, and it now also checks for correct guessing amount.

I will update the Github when I have a chance.

114
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 02, 2019, 02:15:42 pm »
It looks like one or two people have tried! (thank you DL and "lzr") Also looks like it went down while I was sleeping. It is gonna stay down for a bit! I'll post here when its back up.

115
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 01, 2019, 09:32:46 pm »
Here is the Github repo for it: https://github.com/iamredbar/bts-dice-game

Like I said, its still super sloppy and needs improvements.

116
General Discussion / Re: BitShares UI release candidates
« on: February 01, 2019, 04:11:23 pm »
I really like the "Spotlight" section. One thing I found is that it will still allow you to try to get a collateralized debt position on GS assets. It errors when trying to submit. Would it be difficult to not show the assets that are GS when using the collateralized debt position in the "Spotlight" section?

117
First vote! Support.

118
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 01, 2019, 02:23:31 pm »
Also, if the new fee schedule is approved, I will not be able to afford the fees for this game. So hopefully at least one or two people try it before it changes!

119
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 01, 2019, 01:50:36 pm »
Code: [Select]
#get head block number, better than irreversible
  blockNum = blockchain.get_current_block_num()
  print('Block number: {}'.format(blockNum))

  userGuess = userRoll
  seed(blockNum * (userGuess + 1))
 
  diceRatios = btsDiceRatios
  winRatio = diceRatios.get_ratio(userGuess)

  value = randint(1, 100)
  correctGuess = value < int(userGuess)

If everyone would prefer, I can post the code to github but I am embarrassed by it right now, it is very sloppy. The random number logic is above. The only thing that the rest of the code does is interface with the chain.

I would gladly have someone audit the code if they want.

120
General Discussion / Re: BitShares Dice Game Smart Contract
« on: February 01, 2019, 01:42:37 pm »
Code: [Select]
If profit(this_month) < limited_only_by_my_greed
  return user_guess + random
else
  return random

 ;) jk, no clue. Of course important question!

Haha! How did you get my code?!  ;)

Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13