跳至主要内容

HashDice,The first Open Source Platform on Tron Network!!!

In the world of Blockchain, We firmly believe in WE DON'T NEED TO TRUST ANYTHING BUT THE CODE !!!
“Code is law”, it does not lie, blockchain developers can't break this baseline. So our motivation moving forward is transparency being the best decision for Hashdice future, we shall be releasing our source code for all to view, let the Code do the talking.
Although Tron doesn't provide the same verification tool currently used by Ethereum on Etherscan, it's no excuse for Dapp developers to centralize / manipulate the system. The core difference between decentralized apps and centralized apps is clear for all to see, we're dedicated to being an open and transparent decentralized application.
The Hashdice team has decided to lead the way by providing the verification tool linked to our Open Smart Contract Source Code. Instructions below should make this facility accessible to all.


Code Verification Method

Instructions below should make this facility accessible to all.
1. Install node.js and npm.
a) NodeJs official website: https://nodejs.org
b) Requires NodeJS 5.0+. Check version:
node -v  
2. Install the tronbox
npm install -g tronbox  
3. Download the source from github
a) Create a new directory called hashdice and enter the directory.
b) git clone https://github.com/hashdice/tron.git.
git clone https://github.com/hashdice/tron.git  
4. Deploy smart contracts on the shasta test chain.
a) Open tronbox.js and using your address and private key replace the comment.
    shasta: {  
      from: 'your address',  
      privateKey: 'your private key'
    }
b) Run tronbox migrate command.
tronbox migrate –-reset –-network shasta.  
c) Record the smart contract address deployed at Https://shasta.tronscan.org/#/contract/’contract address’ View contract abi and bytecode.
5. Compare the formal contract with the api and bytecode of the contract you're deploying. Due to the differences in the Tronbox versions, bytecode may have subtle differences for individual user but should not have any affect on the substantive functionality.
The official HashDice contract has been deployed at the following addresses:



评论

此博客中的热门博文

How to Play HashDice

1.Visit  http://hashdice.org 2. We recommend to play with Google Chrome, and install Tronlink on  https://bit.ly/2GLIrAG 3. Send some TRX into your Tronlink to play the game. For example, in the Dice mode, you can choose 1~5 results among the 6 possible results, which means different possibility to win and different odds, and click “BET”. 4. You can switch the game mode at the top of the page. 5. You can click at the upper right corner to switch to VENA to play. If you use VENA, you need to approve.

HashDice|The 1st Weekly Report(2019.2.15~2.21)

News: HashDice had an important new version on 21st. The referral mechanism is online. The new daily leaderboard is online. Activities: The activity on Twitter, with comment and retweet, 4 people get prize of 14000TRX in total. Forenotice: During 21st to 26th, invite your friend to bet in HashDice, according to the volume of invitee, players who rank top 3 will share 12000TRX (in 2 rounds, each round last 3days) During 21st to 28th, when you play two dices, if you have two same dice points for 3 times continuously, and the volume is not less than 100TRX each time, you can put the screenshot in the telegram group (see at bottom), and get prize of 1000HDT. Rank: The top 3 volume this week: TVCKV1rCkAMpCaqfuNz52QPbsmTXeokc55 TEKuY7Ekx4Tpz6eGr4aFSEAiYSrXEtrvDs TXjPzDhHAz9G8yBEV8gfKuFKFbWGSesVZQ Follow us: Official website:  https://hashdice.org Telegram: https://t.me/hashdice Twitter: https://twitter.com/hashdice1 Facebook: https://www.facebook.com/Hashdi...