LogoLogo
  • Overview
  • Getting Started
    • Using Mainnet
    • Wallet Configuration
    • Using DApps
    • Technical Architecture
  • Utilities
    • Fees
    • Bridges
    • Block Explorers
    • Oracles
    • Data Indexer
  • Development
    • Private RPC Providers
    • Contract Deployment(Remix)
    • Contract Deployment(Starton)
    • NFT APIs
    • Account Abstraction
    • Contracts
    • Running Matchain Node
  • Links
    • Network Status
    • Rollup info page
    • Matchain Website
Powered by GitBook
LogoLogo

All Rights Reserved © 2024 Matchain

On this page
  • What is Foundry?
  • Prerequisites
  • Getting started on Mainnet
  • Deploying a smart contract
  • Verifying a smart contract
  • Getting started on Testnet
  • Deploying a smart contract
  • Verifying a smart contract

Was this helpful?

  1. Development
  2. Toolchains

Foundry

Last updated 8 months ago

Was this helpful?

What is Foundry?

is a a smart contract development toolset that assists developers in managing dependencies, compiling projects, running tests, deploying contracts, and interacting with blockchains through the command line interface.

Prerequisites

Before we start, make sure you have met the following conditions:

  1. Have some BNB on Matchain Networks. You can follow our guide on and .

  2. Foundry must be installed on your computer. If it’s not, .

Getting started on Mainnet

Deploying a smart contract

forge create ... --rpc-url=https://rpc.matchain.io/

Verifying a smart contract

forge verify-contract ... --chain-id 698

Getting started on Testnet

Deploying a smart contract

forge create ... --rpc-url=https://testnet-rpc.matchain.io

Verifying a smart contract

forge verify-contract ... --chain-id 699
Foundry
Bridges
Network Faucets
follow this guide