Comment on page
Fantom Sonic
With a brand-new virtual machine, improved database storage, and optimized consensus, Sonic is anticipated to achieve 2,000+ transactions per second (TPS) at an average finality of one second while consuming a fraction of the storage used by its predecessor, Opera. The upgrade is the latest step in Fantom’s mission to improve its underlying platform without resorting to sharding or additional layers.
Sonic requires no hard fork and is compatible with any Web3 EVM blockchain. If you already have an established tooling for deploying contracts on Fantom Opera, Ethereum, Sepolia, Goerli, or any other EVM-based networks, they will also work on Sonic.

We already have released access to the Fantom Sonic testnet environment to give users and developers a first-hand experience of the groundbreaking speed offered by the upgrade before its mainnet release, which is scheduled for spring 2024. The testnet environment consists of two separate testnets to demonstrate the upgrade before its mainnet release. The closed testnet aims to showcase the maximum theoretical limits of Sonic, whereas the open testnet is interactive, allowing any user to experience Sonic directly.
At the software level, deploying to Sonic is the same as deploying to the current Opera mainnet or any other compatible networks out there. The only difference is to which network you connect. Use our open Web3 API balancer at https://rpcapi.sonic.fantom.network/ as the connection endpoint. The number of requests is limited, so please do not overload the connection.
You can use the Sonic open testnet dashboard at https://public-sonic.fantom.network to obtain an initial amount of native FTM tokens to execute transactions on the network.
Here is an example configuration for Hardhat:
require("@nomicfoundation/hardhat-toolbox");
// Replace this private key with your Sonic account private key
const SONIC_PRIVATE_KEY = "YOUR SONIC TEST ACCOUNT PRIVATE KEY";
module.exports = {
solidity: "0.8.19",
networks: {
sonic: {
url: "https://rpcapi.sonic.fantom.network/",
accounts: [SONIC_PRIVATE_KEY]
}
}
};
Please make sure to use Solidity version 0.8.21 or lower.
To deploy, execute
npx hardhat run scripts/deploy.js --network sonic
Please note that the Fantom Sonic open testnet is a testing playground aimed to showcase the technology capabilities, which means the data stored on the network will be deleted eventually.
Last modified 1mo ago