Deploy Contracts
At the software level, deploying to Sonic is the same as deploying to any other EVM network.
The only difference is which network you connect to. Use https://rpc.blaze.soniclabs.com as the connection endpoint for the Blaze testnet or https://rpc.soniclabs.com for the mainnet.
For the Blaze testnet, you can use the Sonic Blaze dashboard to obtain an initial amount of S to execute transactions on the testnet.
Here are example configurations for Hardhat to deploy on the Sonic mainnet or Blaze testnet:
To deploy, execute npx hardhat run scripts/deploy.js --network sonic
.
Please note that the Sonic Blaze testnet is a testing playground designed to showcase technology capabilities. The data stored on the network might eventually be deleted, with or without notice.
Last updated