Hardhat
Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with a smart contract.
For deterministic deployments using create2 factory contracts, see this guide.
Using Hardhat with Blast
networks: {
// for mainnet
"blast-mainnet": {
url: "coming end of February",
accounts: [process.env.PRIVATE_KEY as string],
gasPrice: 1000000000,
},
// for Sepolia testnet
"blast-sepolia": {
url: "https://sepolia.blast.io",
accounts: [process.env.PRIVATE_KEY as string]
gasPrice: 1000000000,
},
// for local dev environment
"blast-local": {
url: "http://localhost:8545",
accounts: [process.env.PRIVATE_KEY as string],
gasPrice: 1000000000,
},
},
defaultNetwork: "blast-local",