Building a gambling dapp (Ethereum or TRON network)

8coins
4 min readApr 2, 2020

--

With 8coins dapp builder you can create your own gambling dapp without coding.

Here are the simple steps to create your very own Ethereum or Tron dapp.

Use your favorite dapp browser / extension

We recommend:

For Ethereum: Metamask
For TRON: TronLink

Open dapp builder

Choose blockchain network

Choose Ethereum or TRON network for your dapp

Choose a game that you want to create

Which game do you want to create

Choose a building option

With own contract only you can manage funds

We have 2 options to create a game: build your own smart-contract or use ours.

If you want to build a brand new, very own contract — choose this option.

Now you can start creating your dapp.

Owner’s wallet

Your wallet address here

Your commission (house edge)

This is how much you earn from your dapp

How much do you want to keep from each bet?

This will be your profit.

You can get commission to the same wallet as owner’s or a different one.

Add jackpots

Players love jackpots

If you have already created any games previously you can connect this new game to old game’s jackpot funds. Choose Use existing and enter the game’s address (you can find it in your games list in builder).

Or create new jackpots.

You can create any or all of these jackpots: daily (draw every day), weekly (draw every week), monthly (draw every month), yearly (draw every year).

Add referral program

Referral program is great for promoting your dapp

Referral, or affiliate program, helps to promote your game.

Referrers will be paid this % for each bet with their referral link (they can get the link on the game’s page).

Referral commission is paid instantly to referrer’s wallet.

Check everything

Here you can see your dapp’s commissions and percents

Create the game

Push Create game button and confirm the transaction

You will be asked to confirm transaction.

Reload the page

It may take some time for blockchain network to process transaction.

When it’s done, you will see your newly created games in the list:

Here are your dapps

Open control panel

Click this icon:

Control panel

will open in a modal.

Manage balance

Dapp’s funds

Here you always can top up and withdraw game’s funds.

Please remember to use the owner’s wallet. It gives you access to your dapp’s control panel and it’s functions. Only owner can withdraw funds.

Front end (UI) settings

You can change some UI elements and colors (if you use our standard layout).

Click show button to see the details.

Here you can change what you want:

You can change dapp UI elements and colors

Scroll down to preview the result

Preview — how your game will look

Custom localization

If you need to use a different language, or just want to change words and phrases of the UI — this is also possible.

You can choose any community-contributed localization from catalog or add yours.

Community-contributed languages / localizations

Publish your game

Ok, now when everything is ready you can publish your game to let players play :)

We have prepared several options for you — choose any that suits your needs and skills:

  1. Embed it to your existing website in iframe:

2. Download ready-to-use HTML page — just upload it to your domain.

3. If you have coding skills and want to create your own layout / design — download a bare-bone HTML template and use it to create your page.

4. You can also use our website to play your game — get your link here and test everything:

If you have any questions, concerns or wishes — please feel free to contact us via https://8coins.org

Video tutorial — building your gambling dapp

--

--