Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

feat: configure testnet deployment #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DEPLOYER_MNEMONIC="12 words here"
8 changes: 7 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
buildForkConfig,
} from './helper-hardhat-config';

require('dotenv').config();
require('dotenv').config({ path: '.env' });

import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-waffle';
Expand Down Expand Up @@ -152,6 +152,12 @@ const buidlerConfig: HardhatUserConfig = {
count: 20,
},
},
testnet: { // Tenet testnet
url: "https://rpc.testnet.tenet.org",
chainId: 155,
gas: 10000000,
accounts: { mnemonic: process.env.DEPLOYER_MNEMONIC ?? "mnem mnem test test test test test test test test test junk" }
}
},
};

Expand Down
Loading