Skip to main content

Using Scaffold-ETH 2 to Deploy Smart Contracts

The Status Network Scaffold-ETH 2 extension provides a pre-configured setup for deploying smart contracts on Status Network with both Foundry and Hardhat support, plus a NextJS frontend.

Prerequisites​

  • Yarn: Package manager for JavaScript projects
  • Foundry (optional): If you choose the Foundry workflow
  • Ethereum Wallet (optional): An EVM wallet private key for test, but it's okay if you don't have one

Note: Status Network supports gasless transactions, so testnet ETH is optional. If you still need testnet ETH, get it from our Faucet.

Quick Start​

  1. Install the extension:

    npx create-eth@latest -e status-im/status-network-scaffold-extension
  2. Configure your account:

    yarn generate
  3. Deploy to Status Network:

    yarn deploy --network statusSepolia
  4. Verify your contract:

    # Hardhat
    yarn hardhat:hardhat-verify --network statusSepolia <YourDeployedContractAddress>
    # Foundry
    yarn status:verify --network statusSepolia
  5. Launch the frontend:

    yarn start

Key Points​

  • No local chain needed: Deploy directly to testnet
  • Always use --network statusSepolia for deployments and verification
  • Blockscout verification: Status Network uses Blockscout, not Etherscan
  • Pre-configured frontend: NextJS automatically connects to Status Network

Support​

For detailed configuration options, troubleshooting, and advanced usage: