You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,Please when i try compile hardhat.config.js i get the error : * Invalid account: #0 for network: Rinkeby - private key too short, expected 32 bytes Please what does it mean and how do i convert my Rinkeby private key in dot env to bytes
Any idea on how to solve this error and compile successfully . Thanks in Advance here's my code hardhat.config.js
Hi ,Please when i try compile hardhat.config.js i get the error : * Invalid account: #0 for network: Rinkeby - private key too short, expected 32 bytes Please what does it mean and how do i convert my Rinkeby private key in dot env to bytes
Any idea on how to solve this error and compile successfully . Thanks in Advance here's my code hardhat.config.js
/**
*/
require ('dotenv').config();
require("@nomiclabs/hardhat-ethers");
const { API_URL, PRIVATE_KEY } = process.env
module.exports = {
![Screen Shot 2022-06-11 at 12 35 48 AM](https://user-images.githubusercontent.com/100136975/173178393-90d11974-1c23-4855-95a6-d3c314a54edd.png)
solidity: "0.7.1",
defaultNetwork: "Rinkeby",
networks: {
hardhat: {},
Rinkeby: {
url: API_URL,
accounts: ['${0xf302aC9c7a55B5A5a50BFb027696F307101df60A}']
}
}
}
The text was updated successfully, but these errors were encountered: