LogoLogo
  • 🏠Getting Started
  • 📖Overview
    • CrossFi Chain Overview
    • Architecture
      • Cosmos and EVM Role
  • Economy Overview
    • Native Coins Overview
    • XFI Coin
    • MPX Coin
      • eMPX Token
    • Get coins
  • Concepts
    • Vision and Mission
    • Use Cases
    • Lore
    • Glossary
    • Roles
    • FAQ
  • Ecosystem
    • XFI Scan
    • XFI Console
      • XFI-MPX Staking
      • Governance (DAO)
      • XDS
    • xApp
      • Swap
      • LP Tokens
      • Staking
      • Escrow/Vesting
    • XFI Bridge
    • EXE Interchain Protocol
  • ⚒️Developers
    • Why Develop on CrossFi Chain?
    • Quickstart
    • EVM
      • Deploying Smart Contracts
    • Connect a Frontend
      • Mainnet Cosmos Part
      • Mainnet EVM Part
      • Testnet Cosmos Part
      • Testnet EVM part
    • Configuring a Wallet
    • Integrating Developer Tools
  • API and Endpoints
    • XFI Scan API
    • API and Available Endpoints
    • Available RPC / API Validators
  • 🏗️Node Operators
    • Join a Network
    • Becoming a Validator
      • Introduction to Validating
      • Creating A Validator
      • Securing A Validator
      • Running a Validator
    • Setting Up the CrossFi Chain Client
      • Upgrading the Chain
      • Sending Transactions
      • Upgrade Your Node
  • ℹ️SEE Also
    • Contact and Media Channels
      • Telegram Channel
      • Telegram Chat
      • Discord
      • Medium
      • X (ex. Twitter)
      • LinkedIn
  • GitHub
  • Cross Finance Ecosystem Website
Powered by GitBook
On this page
  • Oracles
  • DIA Oracles
  • RPCs
  • Blast
  • POKT
  • APIs
  • Covalent
  • Indexers
  • Subsquid
  • Dev tools
  • Thirdweb
  1. Developers

Integrating Developer Tools

PreviousConfiguring a WalletNextAPI and Endpoints

Last updated 1 year ago

To allow options when developing on the CrossFi chain, we have integrated with several partners. This list will continue to grow:

Oracles

DIA is a cross-chain data and oracle platform, specializing in the sourcing and delivery of customizable data feeds both on-chain and off-chain.


RPCs

Blast provides fast and reliable decentralized blockchain APIs by partnering with Node Providers, to deliver some of the best infrastructure services in the Web3 space.

To get started with Blast, you will need to create a Project ID and select the CrossFi Testnet under the Core API Category:


curl -X POST https://crossfi-testnet.blastapi.io/<project-id> -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":0,"method":"eth_blockNumber"}'

Web3 Infrastructure with high uptime, cost-effective access, and low latency.


APIs

Covalent is a platform for retrieving data about different blockchain networks. Through an API request, you can find information about wallet, transaction and network activity.

To get started using Covalent with CrossFi, you need to create an account on the Covalent site. After that you can. make the available API calls to get data about the CrossFi chain.

Here is a code snippet to get the token balance for a wallet address:

import { CovalentClient } from "@covalenthq/client-sdk";

const ApiServices = async () => {
    const client = new CovalentClient("YOUR_API_KEY");
    const resp = await client.BalanceService.getTokenBalancesForWalletAddress("crossfi-evm-testnet", "YOUR_WALLET_ADDRESS");
    console.log(resp.data);
}

ApiServices();

Indexers

Subsquid Network is a decentralized query engine optimized for batch extraction of large volumes of data. It currently serves historial on-chain data, including event logs, transaction receipts, traces and per-transaction state diffs.


Dev tools

import { CrossfiTestnet } from "@thirdweb-dev/chains";
import { ThirdwebSDK } from "@thirdweb-dev/sdk";
'
const sdk = new ThirdwebSDK(CrossfiTestnet, {
  secretKey: "YOUR_SECRET_KEY",
});

const getWalletBalance = async () => {
    const walletBalance = await sdk.getBalance("YOUR_WALLET_ADDRESS");
    console.log(walletBalance);
};

getWalletBalance();

After setting up your project, you can use your project ID to create a RPC request similiar to the one below. A list of the available functions can be found.

The all-in-one platform for developers to easily bring their games onto web3. To use Thirdweb with CrossFi, you can use their Here is an example of how to get the token balance for a wallet address:

⚒️
on this page
POKT
Covalent
Subsquid
Thirdweb
TypeScript SDKs.
DIA Oracles
Blast