📘
Yung Pixels' Whitepaper
  • Welcome to Yung Pixels!
  • Introduction
    • What are NFTs?
      • What are PFP NFTs?
    • The problematic NFT scene
    • The Yung Pixels Manifesto
  • Dialogue with Art
    • NFTs and Art
    • Take a sneak peek
  • Technological Overview
    • Randomness
    • ERC 1155
    • Why is $LINK needed?
    • Why Ethereum?
  • Yung Pixels' DAO
    • To be a DAO
  • Community
    • An invite upon artists!
    • Community importance
    • Discord
  • Tutorial: how to buy and reveal a YP
    • Stages of Yung Pixels
    • How to buy on the official website
    • How to reveal a Yung Pixel
  • Tokenomics
    • Tokenomics & Prices
    • Royalties
Powered by GitBook
On this page
  1. Technological Overview

Why is $LINK needed?

PreviousERC 1155NextWhy Ethereum?

Last updated 2 years ago

To put it short, Chainlink requires $LINK on its .

The revealing process is powered by , and it needs $LINK to provide the on-chain randomness. That $LINK is added to the contract subscription balance at the VRF Coordinator contract. At the revealing moment, we request a $LINK value, based on this calculation:

((Gas price * (Verification gas + Callback gas)))/ (ETH/LINK) + Chainlink Charge = Total gas cost

See more about this

The $LINK required to reveal depends on the ETH/LINK ratio, which can change over time, although it is very stable. The value of LINK is also provided by Chainlink's , so everything used to provide relevant data and randomness exists on-chain.

The calculation is required by Chainlink to cover all the costs up to the value obtained through the equation above.

VRF
VRF
calculation
Data Feeds