基于ela侧链的区块链竞猜游戏平台二期开发

. 项目名称:区块链竞猜游戏平台二期开发

亦来云的大象钱包已经初具用户规模了,在钱包内进行支付转账已经非常方便了。亦来云也提供了集成小程序的开发接口。亦来云的Runtime也已经发布,需要一些DAPP来丰富整个亦来云生态。亦来云侧链开发的功能已经基本具备。

支付宝的使用积分猜大盘涨跌奖金池和用户参与度都非常高。可以将二者结合起来提高大象钱包的用户参与度和丰富亦来云的生态。

二期我们准备基于一期的项目成果和ELA侧链开发技术,建议一个区块链竞猜类游戏的发布平台,帮助玩家快速创建亦来云侧链的智能合约。并且使用侧链通证来进行流通。减少游戏的去中心化的运行平台,做成去中心模式,成为更加可信的亦来云的竞猜游戏平台,。

目前第一期小游戏已经上线,通过大象钱包发现->通过URL添加,输入

http://weelink.online/guess/capsule/guessbtc.capsule 就可以添加成功,欢迎大家试玩

项目成员介绍:

Houhong, 资深研发工程师,10多年前端开发经验,曾就职于多家上市公司等,参与过亦来云多期项目开发。

Eric,资深研发工程师,擅长python开发,在服务端开发和算法比较擅长,熟悉服务端端的开发流程。

Allen Zhou, 资深后端研发工程师,3年后端工作经验+1年大数据工作经验,曾就职于京东、网达,负责过内部多款产品的服务端编码及大数据开发工作。

Neng Zhang,资深前端开发工程师,4年前端开发经验,就职于游族网络股份有限公司,负责过公司官网、活动页、后台管理系统以及大型数据平台等工作

项目范围

目前一期已经完成的功能有:

基于亦来云提供的小程序开发的工具开发一个有奖竞猜的小程序,

基于亦来云的后台接口提供数据汇总和发送奖励的流程。

考虑的操作的透明性,所有的投票转账都放统一的公开的钱包地址。

小程序的功能有

1 显示当前奖金池

2 显示当前火币的比特币价格和涨幅,查询火币官网接口获取

3 显示看涨和看跌的比例,后台直接返回用户提交记录即可

4 提交记录,选择预言的ELA数,目前计划是0.1/0.5/1/2 四个级别

5 显示规则说明

a 活动期间,T日涨跌预言时间为T-1日的15:00到T日的12:00

b 开奖规则在T日15:00左右,预言结果揭晓,若预言成功,则按参与的预言方奖池的比例,瓜分总奖池,不涨不跌视为上涨

6 每日15点后显示竞猜结果。显示获得多少ELA。

7 显示基于DID的连胜排行榜。

后台程序

1 提供小程序的运行环境

2 提供用户提交记录的汇总,涨跌百分比

3 汇总竞猜结果。发放奖励操作界面。

4 统计连胜排行榜

二期预期的开发功能有:

1 将一期的后台程序改成ELA侧链的智能合约来开发!
2 调整一期ELA支付的功能改成使用通证来处理
3 将一期的开发成果改成竞猜模板的方式来发布

技术难点

1 验证亦来云小程序框架的整体完备性。

整体方案都是按照亦来云的小程序框架来开发的。整体规范得遵循框架协议来实现,为后续DAPP的移植和开发提供经验。

2 验证去中心化和中心化混合模式的探索

竞猜的涨跌的比例数据是中心化服务器负责统计的。后续奖励的发放也是中心化服务器汇总统计。但是投票的历史数据是上链的。项目成果可以为其它的混合项目提供借鉴。

3 使用ELA侧链来进行验证性开发

一期运行程序截图:
%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190709164926|241x500

1 Like

Project Name: Block Guessing Game Platform Phase II Development

The elephant wallet has already begun to take shape, and it is very convenient to make payment transfer in the wallet.
Also, ELA also provides a development interface for integrating Applet. The Trinity Runtime has also been released,
and some DAPP is needed to enrich the entire ecosystem. The functions of ELA sidechain development have also been basically available.

Alipay’s use of points guessed that the market’s ups and downs bonus pool and user engagement are very high.
The combination of the two can enhance the user engagement of the elephant wallet and enrich the ecology of the ELA.

In the second phase, we prepare to develop a blockchain quiz game based on the results of the first phase of the project and the ELA sidechain development technology
to help players quickly create smart contracts that also come to the ELA sidechain. And use the side chain pass to circulate.
Reduce the decentralized running platform of the game, and make a decentralized mode, becoming a more credible game platform for the game.

The first Applet is now online, found through the elephant wallet -> added by URL, input

Http://weelink.online/guess/capsule/guessbtc.capsule can be added successfully, welcome everyone to try

Project member introduction:
Houhong, senior R&D engineer, has more than 10 years of front-end development experience. He has worked in a number of listed companies and has participated in the development of multi-phase projects.

Eric, a senior R&D engineer, specializes in Python development, is good at server-side development and algorithms, and is familiar with the development process of the server.

Allen Zhou, senior back-end R&D engineer, 3 years of back-end work experience + 1 year of big data work experience, worked in Jingdong, Neta, responsible for server-side coding and big data development of various internal products.

Neng Zhang, senior front-end development engineer, 4 years of front-end development experience, worked at Youhu Network Co., Ltd., responsible for the company’s official website, event page, background management system and large data platform.

Project scope:
The functions that have been completed in the first phase are:

Develop a small quiz-aware program based on the tools developed by elephant wallet.

The background interface based on the ElA mainnet also provides the process of data aggregation and sending rewards.

Considering the transparency of the operation, all voting transfers are placed in a uniform public wallet address.

The function of the applet has

1 Display current bonus pool

2 Display the bitcoin price and the increase of the current fire currency, and query the official website of the fire currency.

3 shows the ratio of bullish and bearish, and the background directly returns the user to submit the record.

4 Submit the record and select the predicted ELA number. The current plan is 0.1/0.5/1/2.

5 Display rule description

a During the event, the T-day rise and fall prediction period is from 15:00 on T-1 to 12:00 on T-day

b The draw rule is around 15:00 on the T day. The prediction results are announced. If the prediction is successful, the total prize pool will be divided according to the proportion of the participating prediction pool.

6 The results of the quiz are displayed after 15:00 every day. Show how many ELAs are obtained.

7 Display the DID-based winning streak.

background program

1 Provide the operating environment of the applet

2 Provide a summary of user submission records, percentage change

3 Summary of the results of the quiz. A reward operation interface is issued.

4 statistical winning streak

The expected development functions of the second phase are:

1 Change the background program of the first phase to the smart contract of the ELA side chain to develop!
2 Adjust the function of the first-stage ELA payment to use the pass to handle
3 Release the results of the first phase of development into a quiz template

Technical Difficulties
1 Verification also comes to the overall completeness of the ELA applet framework.

The overall solution was developed in accordance with the small program framework of the ELA. The overall specification is implemented in accordance with the framework agreement, providing experience for the subsequent porting and development of DAPP.

2 Verify the exploration of decentralization and centralized hybrid mode

The proportion of the ups and downs of the quiz is the centralization server responsible for statistics. The issuance of follow-up rewards is also a summary of centralized server statistics. But the historical data of the vote is on the chain. Project achievements can provide a reference for other mixed projects.

3 Use ELA sidechain for verification development

竞猜游戏小程序平台化后,玩家需要自己设计游戏规则,是通过线下的PC工具软件还是提供在线服务site设计实现?

普通的开发者直接在竞猜平台的dapp里面选择模板和定义规则即可。
高级的开发者需要在其它地方开发好代码提交到竞猜dapp里面

1 Like

The first-round voting was started, you can vote for this proposal at the below URL.
https://voteforme.elaphant.net/didVote.html?hashStr=0e9c43aa69926650fa5215e5b011a87bd31c248f011e03d20c80d5bea1e92cb1

The voting has ended. We are doing the final checking. If you have any questions, please contact us.

The first round voting:
https://voteforme.elaphant.net/didVote.html?hashStr=0e9c43aa69926650fa5215e5b011a87bd31c248f011e03d20c80d5bea1e92cb1

The all votes:
https://voteforme.elaphant.net/didTxList.html

Hi guys, the 2nd Round of voting has started, please vote your favorite projects.

You will be to able recieve a red packet after you have voted, if you only recieve a very small amount of ELA, please don’t worry.
As the wallet with the smallest amount of ELA in a red packet will receive another bonus red packet, containing10ELA at the end of the voting.

Voting URL:
https://voteforme.elaphant.net/didVoteV2.html?hashStr=0e7e986d4d3d5569214f00139870d04fd79e9c2226b27e8ab02beb83a70d78b0

At the same time, you can add VoteForMe mini program to your elephant wallet via this URL
https://launch.elaphant.app/?appName=AddMiniApp&autoRedirect=True&appTitle=AddMiniApp&redirectURL=https://voteforme.elaphant.net/voteforme.capsule