Skip to content

Commit e409f62

Browse files
committed
add gas reporting
1 parent 4be6905 commit e409f62

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ It is based on the [EIP-712 standard for typed structured data hashing and signi
1212
[DIDStampVCVerifier](contracts/DIDStampVCVerifier.sol) - On chain verification that the signer of the provided credential is the issuer.
1313
[Test](test/DIDStampVCVerifier.ts) - Verify that signed credential is valid and signed by issuer
1414

15+
### Gas usage of simple verification
16+
17+
1518
### Pre Requisites
1619

1720
Before running any command, you need to create a `.env` file and set a BIP-39 compatible mnemonic or a private key as an environment

hardhat.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { HardhatUserConfig } from "hardhat/config";
44
import { NetworkUserConfig } from "hardhat/types";
55
import { resolve } from "path";
66

7+
import "hardhat-gas-reporter"
8+
79
import "./tasks/accounts";
810
import "./tasks/didpkh";
911
import "./tasks/issue";
@@ -83,6 +85,7 @@ const config: HardhatUserConfig = {
8385
enabled: process.env.REPORT_GAS ? true : false,
8486
excludeContracts: [],
8587
src: "./contracts",
88+
coinmarketcap: process.env.COINMARKETCAP_API_KEY,
8689
},
8790
networks: {
8891
hardhat: {

0 commit comments

Comments
 (0)