Skip to content

Using BeamX Roulette contract with CLI Wallet

Alex Romanov edited this page Nov 19, 2020 · 2 revisions

Let's play some games!

In this example we will interact with the contract that

As usual we assume that you have read BeamX Getting Started Guide and Using BeamX Faucet contract with CLI Wallet

We also assume that you have the app.wasm and contract.was in the shaders/roulette folder under the 'beamx' folder where you keep your wallet binary file.

If so, we are all set to spin our Roulette.

Well, it's a kind of roulette. In our case your bet is on any number between 0 and 36 (including both 0 and 36). If you guess the number exactly you receive 100 tokens (which are actually new confidential assets on Beam chain)

Clone this wiki locally