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

Pages: 1 ... 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 ... 21
151
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 27, 2014, 01:35:31 pm »
+5%进展不错啊
主要还是参考了HackFisher的代码,不过因为Play平台还需要观察,所以决定先以独立DAC的方式发布后期看有没有整合的可能。

152
General Discussion / Re: JDS (Just Dice Style Shares) Dry Run #1
« on: September 27, 2014, 01:55:51 am »
Test account private key 5JBLNgtSSBAzsq6bXkqpDyNn64kmp6nDepyM798a2dZLdyHThbf. Please don't empty it.
It's better to use GUI but if you want to use console you can do as below:
wallet_dice "<account_name>" 100 2 true
   Roll dice using account 100 JDS and payout as 2, roll high.
wallet_account_dice_transaction_history to view the result.

153
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 27, 2014, 01:47:43 am »
界面可以多样化  比如美女扔筛子的动画啥的。参考一些游戏软件和在线娱乐站。
需要界面设计人员支持啊

154
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 27, 2014, 01:47:06 am »
Dry Run 1开始了,请参见英文贴:https://bitsharestalk.org/index.php?topic=9393.0

155
General Discussion / JDS (Just Dice Style Shares) Dry Run #1
« on: September 27, 2014, 01:46:26 am »
This dry run is over and dry run #2 is started at https://bitsharestalk.org/index.php?topic=9758.msg126678#msg126678

  • shares allocation is planned to distribute like DNS which might be changed later. (20%PTS/20%AGS/10%Dev/50%Delegates
  • 5 sec. block interval
  • 2 blocks to get dice result which averages 7.5 seconds.
  • winning bets adds to shares supply which means all the share holders will pay the cost. losing bets are burnt which means all the share holders share the profit.

https://github.com/zhangweis/jds

build instructions are similar with btsx.

Screenshot:

156
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 27, 2014, 12:47:42 am »
进度更新:
[0927]
加入押大押小支持。
界面优化(需要界面设计人员)。
roll后界面立即更新。


157
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 26, 2014, 10:58:42 am »
需要测试genesis中测试余额的,请使用<bts目录>/programs/utils/bts_create_key生成并导入后用
wallet_account_list_public_keys <account>
然后拷贝其中的pts_compressed_address粘贴到这里
比如
default (locked) >>> wallet_account_list_public_keys delegate1
[{
    "hex": "036f3f124c139aeff320988f4feb62f798d40473be27fb727e06184ff2fbe06a8b",
    "native_pubkey": "JDST7gEAmuw9tvjLnZcEpGtPfseYZ53QDHnaRuqPkSCYfprakYVg54",
    "native_address": "JDSTG1WQZ6JPbDfsZB72btAPZ37UjpxW8wU6D",
    "pts_normal_address": "PiMavT9Gu1sZccDRgPqpa5NqBejK5fKe3e",
    "pts_compressed_address": "Pf8LAwjSFbjX3mzYhzThhcFqo1SweKsD6c",
    "btc_normal_address": "1BRonNT98uvVpLQaJuByR48mwQJVHhCL96",
    "btc_compressed_address": "18CZ2s3JVVnTFWBhLVorYb1nYm27tGQFKY"
  }
]
就贴
    "pts_compressed_address": "Pf8LAwjSFbjX3mzYhzThhcFqo1SweKsD6c",

Dry Run 01可能会很快开始,请有兴趣的按上面的方法贴上你的pts_compressed_address地址,可以在测试genesis中放上余额免得每次dry run重置后需要转账。

158
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 26, 2014, 10:56:19 am »
其实可以直接作为第三方DAC,支持PTS和AGS,10%,剩下怎么分配楼主给个方案社区讨论。赞一个。

欢迎讨论方案。基本可能采用DNS方案,毕竟那个方案是社区讨论的结果。

159
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 26, 2014, 10:55:26 am »
现在是10秒一个块吗?摇色子后几个块后出结果?
玩家是否可以在出块前摇多次色子,每个结果不一样?
5秒1个块。2个块出结果,1个块记录dice,1个块出结果。最快5秒,最慢10秒,平均7.5秒出结果。
玩家可以在出块前摇多次骰子,每次dice的lucky number不一样,意味着结果可能不一样。
为了减少delegate作弊的可能,提高公正性,需要修改出块round的规则,改成下个块由本块随机数从前100个delegate随机选出一个delegate.但现在还是每个round所有的delegate轮一次。

160
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 26, 2014, 08:38:42 am »
进度更新:
[0926]
实现了显示投掷历史(结果)功能。


161
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 24, 2014, 01:49:53 pm »
因为在开发阶段,需要看(丑陋)界面的,可以用ubuntu然后类似bts的方式build。

具体参见:
https://github.com/zhangweis/jds/blob/master/BUILD_UBUNTU.md

162
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 24, 2014, 01:48:01 pm »
需要测试genesis中测试余额的,请使用<bts目录>/programs/utils/bts_create_key生成并导入后用
wallet_account_list_public_keys <account>
然后拷贝其中的pts_compressed_address粘贴到这里
比如
default (locked) >>> wallet_account_list_public_keys delegate1
[{
    "hex": "036f3f124c139aeff320988f4feb62f798d40473be27fb727e06184ff2fbe06a8b",
    "native_pubkey": "JDST7gEAmuw9tvjLnZcEpGtPfseYZ53QDHnaRuqPkSCYfprakYVg54",
    "native_address": "JDSTG1WQZ6JPbDfsZB72btAPZ37UjpxW8wU6D",
    "pts_normal_address": "PiMavT9Gu1sZccDRgPqpa5NqBejK5fKe3e",
    "pts_compressed_address": "Pf8LAwjSFbjX3mzYhzThhcFqo1SweKsD6c",
    "btc_normal_address": "1BRonNT98uvVpLQaJuByR48mwQJVHhCL96",
    "btc_compressed_address": "18CZ2s3JVVnTFWBhLVorYb1nYm27tGQFKY"
  }
]
就贴
    "pts_compressed_address": "Pf8LAwjSFbjX3mzYhzThhcFqo1SweKsD6c",

163
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 24, 2014, 08:27:33 am »
进度更新:
[0924]
界面增加了dice页面

dice后可以在overview里看见输赢结果(未来会在dice页面看结果)

164
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 23, 2014, 02:09:53 pm »
bts的public key么?
是的,只是把BTSXxxxxx改成JDSTxxxx就可以了。为了安全建议新生成地址不要使用有余额的账户。

165
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: September 23, 2014, 05:54:10 am »
进度更新:
[0923]
增加了jackpot执行及计算,增加wallet_dice和blockchain_get_jackpot_transactions命令

Dry Run 计划1周内开始,有兴趣测试的可以留下public key(建议新生成一个),我可以把它写到测试网络的genesis中,这样每次新的dry run都可以有余额可以测试。
如果顺利的话,GUI可以在1周内出个版本。

Pages: 1 ... 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 ... 21