From 24672a7b2fcd829ae85df84604ad731b2dd255b6 Mon Sep 17 00:00:00 2001 From: valentin Date: Fri, 30 Jul 2021 15:09:07 +0200 Subject: [PATCH] add BSC to truffle config Change-Id: I0298ef39373dc4a7446345fe2a60de81930cd5eb --- ethereum/truffle-config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ethereum/truffle-config.js b/ethereum/truffle-config.js index d3eed71b..364b112d 100644 --- a/ethereum/truffle-config.js +++ b/ethereum/truffle-config.js @@ -24,6 +24,14 @@ module.exports = { gas: 4465030, gasPrice: 10000000000, }, + binance: { + provider: () => { + return new HDWalletProvider(process.env.MNEMONIC, 'https://bsc-dataseed.binance.org/') + }, + network_id: '56', + gas: 80000000, + gasPrice: 8000000000, + }, }, compilers: {