跳至主要内容

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:



评论

此博客中的热门博文

HashDice|The 4th Weekly Report(2019.3.11~3.17)

News: HashDice has been on Banko wallet. HashDice will adjust Jackpot prize next week. The basic prize pool will be increased to 10,000TRX, and the lucky number will be adjusted to 8888. Rank: The top 3 volume this week: TNc6BnDV7t2WrAyyHm1oK9vJrT2WEpcs8q TV9YtHHMZJiovAc77jSTB6A35mwXBgJuZJ THgAxRvTd4s5JcbQ6mHRnFt8eHNeEpXE5g TNc6BnDV7t2WrAyyHm1oK9vJrT2WEpcs8q has winned over 50,000TRX in HashDice. TTXjPzDhHAz9G8yBEV8gfKuFKFbWGSesVZQ has winned Jackpot prize for 15,535TRX! Follow us: Official website:  https://hashdice.org Telegram: https://t.me/hashdice Twitter: https://twitter.com/hashdice1 Facebook: https://www.facebook.com/Hashdice/ Medium:  https://medium.com/@prettyabbey Youtube:  https://www.youtube.com/channel/UC1GqliKsTxRe872golbXDXw Instagram:  https://www.instagram.com/hashdice/ Reddit:  https://www.reddit.com/user/hashdice888 Google Blogger:  https://hashdice.blogspot.com/

HashDice|The 3rd Weekly Report(2019.3.4~3.10)

News: On Mar 4th, VenaPi released a new version, improved the speed of HashDice. On Mar 5th, HashDice released a new version, added 2 functions: range roll and auto bet setting. On Mar 7th, HashDice announced to be the first open resource platform on TRON network. Rank: The top 3 volume this week: THgAxRvTd4s5JcbQ6mHRnFt8eHNeEpXE5g TV9YtHHMZJiovAc77jSTB6A35mwXBgJuZJ TVCKV1rCkAMpCaqfuNz52QPbsmTXeokc55 The volume of address TNc6BnDV7t2WrAyyHm1oK9vJrT2WEpcs8q reached 1 million in a single day and win the prize of daily leaderboard, 10800TRX! TAb2hDVNFszDZQXFkxsxUREjYyfDrknnTQ win the Jackpot prize of 21275TRX! Follow us: Official website:  https://hashdice.org Telegram: https://t.me/hashdice Twitter: https://twitter.com/hashdice1 Facebook: https://www.facebook.com/Hashdice/ Medium:  https://medium.com/@prettyabbey Youtube:  https://www.youtube.com/channel/UC1GqliKsTxRe872golbXDXw Instagram:  https://www.instagram.com/hashdice/ Reddit...

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