Cryptosat
WebsiteBlogSatellite Tracking
  • Cryptosat
    • 🛰️Satellite tracking
    • 📄SpaceTEE paper
    • Contribution to the Ethereum KZG Ceremony
      • Cryptosat KZG Operation Tracker
      • Crypto2 contribution output
      • Contribution verification
  • Cryptosim
    • Cryptosim
    • Asynchronous API
    • Use-case examples
    • Open-source contribution
  • 🗳️Private Voting
    • Private Voting on Snapshot X
    • Private Voting Contract
    • Browser Side Encryption
  • 🎲random-beacon
    • Verifiable Random Beacon
    • Using the random beacon on-chain
  • API documentation
    • Message Signing
    • Authentication
    • Randomness API
      • Tutorial
      • API reference
    • Queue API
      • API reference
        • Queue
          • Request
          • Requests
    • Public randomness SAPI
      • About
      • API reference
        • Public randomness
          • Result
    • FROST API
      • About
      • API reference
        • Frost
          • Partial sign
          • Private key
      • Specification
    • Satellite Public Keys
  • ⏳Time-based Primitives
    • ⌚Time-based primitives and delay-encryption
    • ⚛️Using Delay Encryption for Atomic Swaps
  • Flastsat Environment
    • Overview
    • Access and Control
    • Crypto Engine Specs
    • Power API
Powered by GitBook
On this page
  1. random-beacon

Verifiable Random Beacon

Overview and prerequisites

PreviousBrowser Side EncryptionNextUsing the random beacon on-chain

Last updated 2 years ago

Cryptosat periodically generates a 32-byte random beacon and stores it on a smart contract on the 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:

  • or any Solidity development environment

  • wallet and Velas testnet VLX

Setup MetaMask​

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

  1. 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 .

Acquire Testnet VLX​

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

velas airdrop 10 <RECIPIENT_ACCOUNT_ADDRESS> --url https://explorer.testnet.velas.com/rpc

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

velas evm transfer-to-evm -k ~/my-velas-wallet/my-keypair.json <VELAS_EVM_ADDRESS> <AMOUNT>

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

Transfer Velas Native coin to Velas EVM with

🎲
Velas
The Remix IDE
MetaMask
Velas
Install MetaMask
this article
Install Velas CLI
Generate a Velas Wallet
evm-utils