Learning Outcomes
By the end of your learning, you will be able to:
- Describe what the Aptos Randomness API is
- Understand how to implement the API
- Create, deploy and interact with a Move smart contract on testnet
Quest Details
Introduction
Generating randomness in blockchains is particularly challenging due to their deterministic nature, where the same set of inputs must always produce the same outputs to ensure consensus among all network participants.
As such, Aptos Labs released Aptos Roll, which is the first secure and instant on-chain randomness API. This API simplifies the process of obtaining random values in Move smart contracts, crucial for applications like decentralized games, raffles, NFTs, and airdrops.
We’ll be learning about how to implement this randomness API through the creation of a Rock Paper Scissors game, whereby users will be able to play against a computer.
Deliverables
This quest has 1 deliverable.
- Screenshot of block explorer & Aptos CLI
This quest is part of a campaign so do check out other quests!
Find articles to support you through your journey or chat with our support team.
Help Center