Developers Forum for XinFin XDC Network
Hey I am getting the same error i also changed thr RPC url but to no avail can you please send me your hardhat config file how you did it?
my code: require("@nomicfoundation/hardhat-toolbox"); require("dotenv").config({ path: ".env" });
const XINFIN_PRIVATE_KEY = process.env.XINFIN_PRIVATE_KEY;
module.exports = { solidity: "0.8.0", networks: { xinfin: { url: ["erpc.apothem.network", "apothem.xdcrpc.com", "rpc.apothem.network "], accounts: [XINFIN_PRIVATE_KEY], }, }, };
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
Hey I am getting the same error i also changed thr RPC url but to no avail
can you please send me your hardhat config file how you did it?
my code:
require("@nomicfoundation/hardhat-toolbox");
require("dotenv").config({ path: ".env" });
const XINFIN_PRIVATE_KEY = process.env.XINFIN_PRIVATE_KEY;
module.exports = {
solidity: "0.8.0",
networks: {
xinfin: {
url: ["erpc.apothem.network", "apothem.xdcrpc.com", "rpc.apothem.network "], accounts: [XINFIN_PRIVATE_KEY],
},
},
};