Create a WAX RNG Smart Contract
In this tutorial, you’ll learn how to create and deploy a WAX RNG smart contract.
Note: At this time, the WAX RNG service is not available from a local development environment. You'll need to publish your smart contract to the WAX mainnet to test it.
Before You Begin
- You’ll need to complete our Docker Quickstart (recommended) or use the WAX Blockchain Setup to build from source.
- To compile and deploy your smart contract, you’ll need to use the WAX Contract Development Toolkit (WAX-CDT).
- Install the WAX Random Number Generator (WAX RNG).
- To deploy your smart contract to the WAX mainnet, you’ll need to create a free WAX Blockchain Account. Make sure you have enough WAX staked in your account to allocate resources. Refer to Create a free WAX Blockchain Account for more information.
New Developers: If you're new to dApp development, it's recommended that you review our Create a Smart Contract Quickstart.