Created
October 28, 2021 16:26
-
-
Save nuggetnchill/3b8f31032fc216096ca9205ff261e436 to your computer and use it in GitHub Desktop.
Harmony hardhat.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('@nomiclabs/hardhat-waffle'); | |
require('dotenv').config(); | |
const HARMONY_PRIVATE_KEY = process.env.PRIVATE_KEY; | |
module.exports = { | |
solidity: '0.8.0', | |
networks: { | |
testnet: { | |
url: 'https://api.s0.b.hmny.io', | |
accounts: [`${HARMONY_PRIVATE_KEY}`], | |
}, | |
// mainnet: { | |
// url: `https://api.harmony.one`, | |
// accounts: [`0x${HARMONY_PRIVATE_KEY}`], | |
// }, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment