Overview

Flare is a Layer 1 blockchain with native data acquisition protocols, providing developers with decentralized access to high-integrity data from other blockchains without relying on third party oracles. Users can effortlessly create wallets and interact with Flare using the Magic SDK. As Flare is EVM compatible, you can follow the Ethereum documentation to send your first transaction and utilize all other features.

Configure Flare

const FlareOptions = {
  rpcUrl: 'https://coston-api.flare.network/ext/bc/C/rpc',
  chainId: 16,
};

// Setting network to point to Coston Testnet
const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', { network: FlareOptions });

Compatibility

  • All Auth, User and most Wallet module methods*
  • All EVM Provider functionality to respond to supported RPC methods
*Some features are not yet compatible such as NFT Viewer and Fiat On-ramps. Need a feature or see a problem? File an issue on our github repo.

Resources & Tools