Skip to content

Instantly share code, notes, and snippets.

@nuggetnchill
Created October 28, 2021 16:26
Show Gist options
  • Save nuggetnchill/3b8f31032fc216096ca9205ff261e436 to your computer and use it in GitHub Desktop.
Save nuggetnchill/3b8f31032fc216096ca9205ff261e436 to your computer and use it in GitHub Desktop.
Harmony hardhat.config.js
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