Quick Start

How to use Truflation?

Got 30 minutes? Watch a step by step workshop by our smart contract scientist.
Good to know: You can follow our quickstart guide on Github and use our sample smart contract.
  1. 1.
    Get some Rinkeby LINK from Chainlink faucet.
  2. 2.
    Load Sample Contract into remix.
  3. 3.
  4. 4.
    Deploy to Injected web3.
  5. 5.
    Send some LINK to smart contract - 0.01 to run.
  6. 6.
    Run requestInflationData with string currentInflationIndex.
  7. 7.
    Wait for inflation index to update.
  8. 8.
    Call inflation to get the result.
Check a more detailed explanation here.