Configure Hardhat with 1337 chain id
You can configure the chain ID by setting the networks.hardhat.chainId in hardhat.config file as shown below:
// ...
module.exports = {
solidity: "0.8.17",
networks: {
hardhat: {
chainId: 1337, // <---
},
},
};
Configure network in thirdweb dashboard and MetaMask
Start the hardhat node