|
| 1 | +--- |
| 2 | +title: Using Scaffold-ETH 2 with Status Network |
| 3 | +description: Quick start guide for deploying smart contracts on Status Network using the pre-configured Scaffold-ETH 2 extension. |
| 4 | +keywords: [Scaffold-ETH 2, smart contract deployment, Status Network development, Foundry, Hardhat, NextJS, web3 development] |
| 5 | +--- |
| 6 | + |
| 7 | +# Using Scaffold-ETH 2 to Deploy Smart Contracts |
| 8 | + |
| 9 | +The [Status Network Scaffold-ETH 2 extension](https://github.com/status-im/status-network-scaffold-extension) provides a pre-configured setup for deploying smart contracts on Status Network with both Foundry and Hardhat support, plus a NextJS frontend. |
| 10 | + |
| 11 | +## Prerequisites |
| 12 | + |
| 13 | +- **Yarn**: Package manager for JavaScript projects |
| 14 | +- **Foundry** (optional): If you choose the Foundry workflow |
| 15 | +- **Ethereum Wallet** (optional): An EVM wallet private key for test, but it's okay if you don't have one |
| 16 | + |
| 17 | +> **Note**: Status Network supports gasless transactions, so testnet ETH is optional. If you still need testnet ETH, get it from our [Faucet](/tools/testnet-faucets). |
| 18 | +
|
| 19 | +## Quick Start |
| 20 | + |
| 21 | +1. **Install the extension:** |
| 22 | + ```bash |
| 23 | + npx create-eth@latest -e status-im/status-network-scaffold-extension |
| 24 | + ``` |
| 25 | + |
| 26 | +2. **Configure your account:** |
| 27 | + ```bash |
| 28 | + yarn generate |
| 29 | + ``` |
| 30 | + |
| 31 | +3. **Deploy to Status Network:** |
| 32 | + ```bash |
| 33 | + yarn deploy --network statusSepolia |
| 34 | + ``` |
| 35 | + |
| 36 | +4. **Verify your contract:** |
| 37 | + ```bash |
| 38 | + # Hardhat |
| 39 | + yarn hardhat:hardhat-verify --network statusSepolia <YourDeployedContractAddress> |
| 40 | + # Foundry |
| 41 | + yarn status:verify --network statusSepolia |
| 42 | + ``` |
| 43 | + |
| 44 | +5. **Launch the frontend:** |
| 45 | + ```bash |
| 46 | + yarn start |
| 47 | + ``` |
| 48 | + |
| 49 | +## Key Points |
| 50 | + |
| 51 | +- **No local chain needed**: Deploy directly to testnet |
| 52 | +- **Always use `--network statusSepolia`** for deployments and verification |
| 53 | +- **Blockscout verification**: Status Network uses Blockscout, not Etherscan |
| 54 | +- **Pre-configured frontend**: NextJS automatically connects to Status Network |
| 55 | + |
| 56 | +## Support |
| 57 | + |
| 58 | +For detailed configuration options, troubleshooting, and advanced usage: |
| 59 | +- Check the [extension README](https://github.com/status-im/status-network-scaffold-extension) for comprehensive documentation |
| 60 | +- Join our [Telegram Community](https://t.me/statusl2) and ask for support |
| 61 | +- View our [Network Details](/general-info/network-details) |
0 commit comments