فهرست منبع

Add BSC Testnet deployment configuration

Tom Pointon 3 سال پیش
والد
کامیت
d33dc2089f
2فایلهای تغییر یافته به همراه11 افزوده شده و 3 حذف شده
  1. 6 0
      ethereum/.env.prod.binance_testnet
  2. 5 3
      ethereum/truffle-config.js

+ 6 - 0
ethereum/.env.prod.binance_testnet

@@ -0,0 +1,6 @@
+MIGRATIONS_DIR=./migrations/prod
+
+#Pyth
+WORMHOME_BRIDGE_ADDRESS=0x68605AD7b15c732a30b1BbC62BE8F2A509D74b4D
+PYTH_TO_WORMHOLE_CHAIN_ID=0x1
+PYTH_TO_WORMHOLE_EMITTER=0x6bb14509a612f01fbbc4cffeebd4bbfb492a86df717ebe92eb6df432a3f00a25

+ 5 - 3
ethereum/truffle-config.js

@@ -59,11 +59,13 @@ module.exports = {
     binance_testnet: {
       provider: () => new HDWalletProvider(
         process.env.MNEMONIC,
-        "https://data-seed-prebsc-1-s1.binance.org:8545/"
+        "https://data-seed-prebsc-1-s2.binance.org:8545"
       ),
       network_id: "97",
-      gas: 70000000,
-      gasPrice: 8000000000,
+      confirmations: 10,
+      networkCheckTimeout: 1000000,
+      timeoutBlocks: 1000,
+      skipDryRun: true,
     },
     polygon: {
       provider: () => {