Erik Weijers, 2 months ago

Chainlink Functions live in beta: a few examples

Long time since we discussed Chainlink! With Chainlink Functions, we have a great excuse. It is a new product that will connect decentralized applications to those of Web2 (the good old internet). Smartcontracts can link to any API, fetch data, and execute based on these data. For example: the automatic payout of musicians based on the stream data of their songs. 

Chainlink Functions is now in closed beta and is live on Ethereum and Polygon testnets. 

A quick refresh: Chainlink uses a network of data providers called oracles, which work as software versions of middlemen between smart contracts and data, facilitating two-way data transfers. In the Decentralized Finance boom that started in 2020, Chainlink was started to be used for the exchange of price data between different apps. 

While most people know Chainlink for providing price feeds, it has many - and arguably more important - use cases beyond reliable financial data. Let's have a look at a few examples of Chainlink Functions connecting various sorts of data to smart contracts. 

Example 1: Automating NFT giveaway at product launch

Chainlink Functions could for example streamline NFT giveaways by a company. Chainlink Functions would automate the process of identifying winners and minting NFTs for their wallet addresses. 

Example 2: Automatically paying musicians based on their stream counts

Chainlink Functions could be used to bridge the gap between a smart contract and music stream data. Arecord label and a music artist could use a smart contract to define the terms of their contract. Chainlink Functions would connect to a music data API and calculates the payment amount. It then uses Twilio to send an email alert to the artist about their streams and payment amount. Also, the contract can send the payment in for example USDC. 

Example 3: Reliably determining the winner of a poll

Google Analytics and BigQuery could be integrated with decentralized applications (dApps). This would allowlive updates on-chain about website statistics. Let's say a user can vote on some poll on a website. Their pick is sent to Google Analytics and then stored in Google BigQuery, a tool for analyzing large datasets. Chainlink then retrieves the vote counts from BigQuery and updates the smart contract with the vote totals. Once the voting period is over, the smart contract processes the vote counts and determines the winner.

Example 4: decentralized insurance based on weather data

Chainlink Functions can be used for decentralized insurance based on weather data. It aggregates data from multiple sources, ensuring a consensus on the final result before updating the smart contract. Let's say an insurance contract will pay out if the rainfall in Amsterdam exceeds 30 mm for three consecutive days. Chainlink Functions passes these data to the smart contract, which determines the client should be paid out.


Venturing beyond DeFi, Chainlink Functions opens up a realm of possibilities for using smart contracts in applications, including the creator industry and the insurance market. It will be interesting to see if the LINKtoken can benefit from these upcoming developments.

Featured articles
Four trading strategies for crypto
Bitcoin and Ethereum: what are the differences?
What determines the Bitcoin price?
Related articles
Hacker of Tornado Cash proposes to undo attack

May 22, 2023

On Saturday, Tornado Cash's DAO was taken over by an attacker, or group of attackers. It's another backlash for the plagued coin mixer which makes privacy for Ethereum holders possible. In an interesting turn of events, a day later the attacker proposed to undo his attack. Never a boring day in crypto!

Trade anytime, anywhere

Boost your trading impact and reaction time in over 80+ cryptocurrencies via instant access to your portfolio with the LiteBit app.

App Store
Google Play Store
  • 2525 Ventures B.V.
  • 3014 DA Rotterdam
  • The Netherlands
More info
  • About LiteBit
  • Support
  • Sell
  • News
  • Education
Subscribe for updates

Sign up to stay informed via our email updates

Explore popular coins
© 2023 LiteBit - All rights reserved