CLI

Build a guessing game using Orao VRF

15 minute read Published: 2024-05-20

In this tutorial, we will learn about Verifiable Random Functions by building a guessing game on the Solana blockchain using Orao Network's Random Verifiable Function service.

We will implement the Solana program on-chain, which generates a random number between 0 and 10. We will then build a simple CLI interface to interact with the program. The CLI will prompt the user for a number. After a guess is entered, the program will indicate whether the guess is too low or too high. The game will print a congratulatory message and exit if the guess is correct.

Going crustaceous with my terminal.

6 minute read Published: 2021-04-09

Okay! Okay! Okay! So not the most creative or original title out there but, hey iris wariris. Creativity ain't one of my strong suits. As a developer one of the most frequent questions you will hear upon encountering a new language will be, 'Well what is it used for?' quickly followed by 'Who uses this?'. This I assume must what going through a developers head as they go through the stack overflow survey and find out that rust is the most loved language. But wait. Didn't the language just hit 1.0 in 2015 ?. Yes! Is it really mature for production use you might ask. Yes. Five years is a really long time in developer years. Several well known companies use rust in production and others are soon set to add to the numbers. While there are many areas where rust is used, I will focus my attention today on command line tools to make the development experience for developers smooth.