I tried to deploy a simple contract(default contract when init harhat) with harhat to baobab network but it raise
ProviderError: The method web3_clientVersion does not exist/is not available
hardhat.config.js
module.exports = {
solidity: "0.5.16",
networks: {
baobab: {
url: ''https://api.baobab.klaytn.net:8651'',
accounts: [process.env.PRIVATE_KEY]
}
},
};
Cmd to run: `npx hardhat run scripts/sample-script.js --network baobab`
You can use my demo repo to fastly debug: GitHub - SFzxc/klaytn_smart_contracts
Thansks