From a4dc10ca3b323138ef450ba93233492e97c4ebd4 Mon Sep 17 00:00:00 2001 From: Anh Nguyen Date: Fri, 8 Mar 2024 11:08:38 +0700 Subject: [PATCH] [ci] add gas price api --- truffle-config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/truffle-config.js b/truffle-config.js index f38bf35..9035a6e 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -109,6 +109,8 @@ module.exports = { reporter: 'eth-gas-reporter', reporterOptions : { currency: 'USD', + gasPriceApi: 'https://api.etherscan.io/api?module=proxy&action=eth_gasPrice', + token: 'ETH', coinmarketcap: process.env.COINMARKETCAP_API_KEY } },