Deploy Contracts
Last updated
Last updated
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 as the connection endpoint for the Blaze testnet or for the mainnet.
For the Blaze testnet, you can use the 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
.