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.
This repository contains the following examples:
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 | ✅ | ✅ | ✅ | ✅ |
Description | JavaScript | Python | Rust | Go |
---|---|---|---|---|
Get Feed ID | ✅ | ✅ | ✅ | ✅ |
Query FTSOv2 configuration | ✅ | ✅ | ✅ | ✅ |
Consume FTSOv2 feeds | ✅ | ✅ | ✅ | ✅ |
Make FTSOv2 volatility incentive | ✅ | ✅ | ✅ | ✅ |