Verifiable Random Beacon

Overview and prerequisites

Cryptosat periodically generates a 32-byte random beacon and stores it on a smart contract on the Velas blockchain. This tutorial guides through the steps to retrieve and verify randomness generated by Cryptosat.

Getting Started​

You'll need the following tools to complete the steps in this tutorial:

Setup MetaMask​

To deploy a smart contract on any blockchain, you need a wallet and corresponding token to pay for the fee.

  1. Install MetaMask browser extension.

  2. Open MetaMask and follow the instruction to setup a new account. Copy your secret recovery phrase into a secure location. You need this to access your walllet later.

  3. Configure MetaMask for Velas Network following this article.

Acquire Testnet VLX​

mkdir ~/my-velas-walletvelas-keygen new --outfile ~/my-velas-wallet/my-keypair.json
  1. Airdrop some tokens to your wallet

Replace <RECIPIENT_ACCOUNT_ADDRESS> with your base58 encoded public key address.

  1. Transfer Velas Native coin to Velas EVM with evm-utils

<VELAS_EVM_ADDRES> will be the public address of your MetaMask wallet.

Last updated