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
  • Hardhat
  • Foundry
  • Deploy with Ethereum JSON-RPC
  • Block Explorers
  • Contract Verification
  1. Developers
  2. EVM

Deploying Smart Contracts

PreviousEVMNextConnect a Frontend

Last updated 1 year ago

The CrossFi Chain supports smart contracts written in Solidity. You can use popular tools like Hardhat and Foundry to deploy your smart contracts

This page provides guides for each of these tools:

Hardhat

- JavaScript/TypeScript-based smart contract development and testing framework

  • All basic functionality of framework is working on CrossFi chain

For an exhaustive guide on how to make a smart contract on a CrossFi network, we advise you to first go through the official beginner's

After tutorial completion add CrossFi chain to you hardhat.config.js and you'll be fully set up to start your building journey on CrossFi chain.

Foundry

- high-performance smart contract development framework written on Rust All basic functionality of framework is working on CrossFi chain

  • Can be used in pair with Hardhat

  • Can have troubles with smart contracts verification

Deploy with Ethereum JSON-RPC

CrossFi is fully compatible with the APIs, allowing you to deploy and interact with smart contracts on CrossFi and connect with existing Ethereum-compatible web3 tooling. This gives you direct access to reading Ethereum-formatted transactions or sending them to the network which otherwise wouldn't be possible on a Cosmos chain, such as CrossFi.

You can connect to the CrossFi Testnet to deploy and test your smart contracts before moving to Mainnet.

Block Explorers

You can use block explorers to view and debug interactions with your smart contracts deployed on CrossFi. Block explorers index blocks and their transactions so that you can search for real-time and historical information about the blockchain, including data related to blocks, transactions, addresses, and more.

Contract Verification

Contracts verification is not publicly available right now due to the Explorer API being under active development.

⚒️
Hardhat
guide by hardhat
Foundry
Ethereum JSON-RPC