Skip to content

Latest commit

 

History

History
 
 

examples

Developer Hub Examples

These examples demonstrate how to interact with Flare using JavaScript, Python, Rust and Go. All developer-hub-* sub-folders are entire language-specific projects that you can clone and use.

Overview

This repository contains the following examples:

Network

Description JavaScript Python Rust Go
Get Block Number
Get Chain ID
Create account
Compile contract
Query contract on Flare
Deploy contract on Flare
Fetch ABI from explorer
Use Flare's secure RNG

FTSOv2

Description JavaScript Python Rust Go
Get Feed ID
Query FTSOv2 configuration
Consume FTSOv2 feeds
Make FTSOv2 volatility incentive