Remix IDE
Remix is a browser-based Solidity IDE that lets you write, compile, test and deploy smart contracts directly in your browser, no local setup required.
Let's use Remix to compile, deploy, and test smart contracts on Push Chain.
Deploy Smart Contracts with Remix
1. Add Push Chain to Your Wallet
If you haven’t yet, follow Wallet Setup to add Push Chain as a custom network in your wallet.
- 🍩 Donut Testnet
- Mainnet - Coming Soon 🚀
Field | Value |
---|---|
Network Name | Push Chain Donut Testnet |
RPC URL | https://evm.rpc-testnet-donut-node1.push.org/ , https://evm.rpc-testnet-donut-node2.push.org/ |
Chain ID | 42101 |
Currency Symbol | PC |
Block Explorer URL | https://donut.push.network |
2. Launch Remix
Open Remix IDE or use the embedded IDE below.
3. Configure “Deploy & Run Transactions”
- Click the Deploy & Run Transactions plugin in the left sidebar
- Under Environment, choose Injected Provider - Web3
- Approve the connection in your wallet, making sure it’s set to Push Chain Donut Testnet (42101)
4. Compile Your Contract
- Open the Solidity Compiler plugin
- Select compiler version 0.8.22 (or match your
pragma
) - Click Compile next to your contract file
5. Deploy Your Contract
- Return to Deploy & Run Transactions
- Select your contract from the Contract dropdown
- Click Deploy
- Confirm the transaction in your wallet
Next Steps
- Deploy from the console with Foundry
- Script deployments with Hardhat
- Call your contract from code via the Push Chain SDK