Deployment
FlowNodes deploys contracts directly to Ethereum Mainnet (chainId: 1). The deployment is initiated from your browser using wagmi — your wallet signs the transaction, you pay gas from your own wallet, and the contract is live in one block.
Ethereum Mainnet deployment
Pre-flight checklist
Click the Deploy button in the top bar to open the Deploy Modal. FlowNodes runs a pre-flight check before showing the deploy form:
| Check | Pass Condition |
|---|---|
| Contract compiled | No compile errors |
| Contract size | Bytecode ≤ 24,576 bytes |
| Security scan | 0 critical findings |
| Credits available | Balance ≥ 200 credits |
Deploy flow
- 1
Gas estimation
FlowNodes estimates deploy gas using eth_estimateGas against Mainnet. The current gas price (via EIP-1559) is shown. You'll see an estimated total ETH cost.
- 2
Constructor arguments
If your contract has constructor parameters (e.g. token name, symbol, initial owner address), they are shown as a form. Fill them in — they're ABI-encoded on submission.
- 3
Confirm and sign
Click "Deploy to Mainnet". Your wallet (MetaMask, WalletConnect, etc.) pops up with the transaction. Review the gas cost and confirm. FlowNodes deducts 200 credits at this point.
- 4
Wait for confirmation
The transaction is submitted and you'll see a pending status with the txHash linking to Etherscan. FlowNodes polls for the receipt.
- 5
Contract indexed
After 12 confirmations (~2.5 min), an Alchemy webhook fires and FlowNodes records the final contract address, block number, gas used, and deploy cost.
Deploy cost breakdown
| Cost | Who pays | Amount |
|---|---|---|
| Gas fees | Your wallet (ETH) | Varies by contract complexity and network conditions |
| Deploy credit fee | Your FlowNodes credits | 200 credits (~$2.00) |
| Etherscan verification | Your FlowNodes credits | 10 credits (~$0.10) |
Etherscan verification
Etherscan verification is automatic. After your contract is confirmed on-chain, FlowNodes submits the source code, compiler settings, and constructor arguments to the Etherscan API v2. This typically completes within 30–60 seconds.
What gets submitted
| Field | Value |
|---|---|
| Source code | The full Solidity source generated by FlowNodes |
| Compiler version | v0.8.24+commit.e11b9ed9 |
| Optimizer enabled | true |
| Optimizer runs | 200 (or your project setting) |
| EVM version | cancun |
| Constructor args | ABI-encoded from your deploy form inputs |
| License | MIT |
Standard-JSON-Input method, which is the most reliable and handles multi-file imports correctly.Sourcify fallback
If Etherscan verification fails (e.g. Etherscan API is slow), FlowNodes automatically falls back to Sourcify verification. Sourcify is a decentralised contract verification service that stores metadata on IPFS.
Verification status
You can see the verification status on your Deployed Contracts page. Green "Verified" badge = Etherscan accepted the source. If verification is still pending after 5 minutes, check the Etherscan API status page.
Managing deployed contracts
Contracts page
All your deployments are listed at /contracts. Each entry shows the contract name, address, deploy timestamp, block number, verification status, and a direct link to Etherscan.
Contract detail page
Navigate to /contracts/[address] for a full view of a deployment:
- ›Full ABI in JSON format (copyable)
- ›Bytecode and deployed bytecode
- ›Solidity source (same as Etherscan)
- ›Deploy transaction hash with Etherscan link
- ›Gas used and gas price at deploy time
- ›Constructor arguments (decoded)
Interacting with deployed contracts
FlowNodes does not have a built-in contract interaction UI. To interact with your deployed contract:
- Etherscan:The verified contract has a Read/Write Contract tab on Etherscan. Connect your wallet and call functions directly.
- Cast (Foundry):Use cast send and cast call with the ABI you export from FlowNodes.
- Wagmi / viem:Copy the ABI from FlowNodes and use it in your frontend application.
- Remix IDE:Import the verified contract from Etherscan into Remix for further development.
Deploy History tab
Inside the Canvas Editor, the bottom console's Deploy History tab shows all deployments associated with the current project. Click a deployment to navigate to its detail page.
