Просмотр исходного кода

add BSC to truffle config

Change-Id: I0298ef39373dc4a7446345fe2a60de81930cd5eb
valentin 4 лет назад
Родитель
Сommit
24672a7b2f
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      ethereum/truffle-config.js

+ 8 - 0
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: {