-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
36 lines (31 loc) · 920 Bytes
/
hardhat.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require("@nomicfoundation/hardhat-toolbox");
const ROOTSTOCK_TESTNET_RPC_URL = "https://public-node.testnet.rsk.co";
const ROOTSTOCK_MAINNET_RPC_URL = "https://public-node.rsk.co";
// // // Replace with your own private key for deployments
const PRIVATE_KEY = "f19fb7ab9ff1613b3bc7e85be2efb5df44c3f0bfe4b20056c9d7d08e13f22005";
module.exports = {
solidity: "0.8.24",
networks: {
rootstock_testnet: {
url: ROOTSTOCK_TESTNET_RPC_URL,
accounts: [PRIVATE_KEY],
chainId: 31,
},
rootstock_mainnet: {
url: ROOTSTOCK_MAINNET_RPC_URL,
accounts: [PRIVATE_KEY],
chainId: 30,
},
},
};
// require("@nomiclabs/hardhat-ethers");
// require("@nomiclabs/hardhat-etherscan");
// module.exports = {
// solidity: "0.8.24",
// networks: {
// rootstock_testnet: {
// url: "https://testnet.rootstock.io/rpc",
// accounts: [PRIVATE_KEY],
// }
// }
// };