Deploy smart contract - Soneium
Learn how to deploy a smart contract on Soneium using GetBlock's RPC endpoint.
Soneium is EVM-equivalent OP Stack, so contracts deploy with the standard Solidity toolchain — Foundry, Hardhat, or Remix — pointed at a GetBlock endpoint, with no chain-specific compiler or plugin required. Gas is paid in ETH, and each transaction also pays a small OP Stack L1 data-availability fee on top of L2 execution gas. This guide covers adding the network to a wallet and deploying a first contract to Soneium.
Prerequisites
An EVM wallet (such as MetaMask) with ETH on Soneium for gas — see Add Network to Your Wallet and Funding Your Deployer
A GetBlock access token — the endpoint is
https://shared.us-east-1.getblock.io/<ACCESS-TOKEN>/A funded deployer address with ETH on Soneium
Network Details
Network Name
Soneium
RPC URL
https://shared.us-east-1.getblock.io//
Chain ID
1868 (0x74c)
Currency Symbol
ETH
Block Explorer
Add Network to Your Wallet
Soneium is not pre-configured in MetaMask by default, so it must be added manually — follow the step below:
Enter the network details
Enter the values from the Network Details table above.
Funding Your Deployer
Soneium gas is paid in ETH, bridged from Ethereum L1.
Mainnet — bridge ETH to Soneium through the official Soneium bridge, or withdraw to a Soneium address from an exchange that supports it.
Deploy with Foundry
Deploy with Hardhat
After Deploying
Read contract state through the
eth_callmethod against your GetBlock endpointWatch contract events with
eth_getLogsExplore your contract and transactions on the Soneium explorer
Last updated
Was this helpful?