Skip to content

Commit

Permalink
Redeploy contracts and update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lbqds committed Oct 16, 2023
1 parent c9f1c8f commit 817bf2d
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 38 deletions.
44 changes: 22 additions & 22 deletions alephium/artifacts/.deployments.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,30 +86,30 @@
}
},
"Governance": {
"txId": "7f50ab45e378f129dfaa9901ae06712a78f48207c8ecf6b2a80398a64467a3e5",
"unsignedTx": "000101010103000000081500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a7640000a214434f0b0b094021415641a041c541ec4243425a42bf42f04338010000000102a0010201010606000b1600a001a905b31601160216031604160574010002180540b916000c0d621401014113067b16000d11626e170216014c051602a0052f13077b1600111306626c170316020005170416040c0d626c170516050c3013087b16050e2c0f2d0d2a1706160616033213097b1600130616031340422c2a16004362170716074f4f1708130617090b170a0c170b160b1603314c40481600160916090d2a626c170c160c3f170d160d160a28130a7b160d170a160016090d2a16091340422a62170e160e134040134041626c131b2a170f160e0c13404062160f664417100d160c13142c2a171116041611161113142a6217121612160816107241130b7b16091340422a1709160b0d2a170b4a7fb416071308130a626d17131607130a130c626d17141607130c132c6217151607132c1334626f17161607133516074362171716131614161516161617020100040903402c1600030002170817071706170517041604ce012f0c7b1606ce02410d7b16071601340f7b16080c1320627116022f107b16081320132162160341117b160716051608020000020e020f1600a00013c0436f72651601000317041703170216020d2aa10016031604020000010101161600a0052f4c02a003021600a0042f4c0756a00632130c7ba002021307047c7b180100010800403016001401010004170217011601ce002f130d7b16020d10ce030105170617051704170316041400414c031603ba4a16a0006ba0016b44a0046b44a0056b441707160416074e41130e7b160316051606bb000000000008a003a102a005a104561385265c002aa1060100010600403a000716001401020004170217011601ce002f16010c2f1b130d7b160213211325626e17031603a0050d2a2f13077b160213251326626c170416040c3313087b1326160413142c2a170516024316052f0e7b1603a10516021325160562a10301000104001816001401030004170217011601ce002f130d7b16021321134041627117031602431340412f0e7b1603a1010102010500402516001401040004170217011601ce002f16010c2f1b130d7b160213211340416271170316021340411340616217041602431340612f0e7b140100160444631603a814404c040240ff020003402000000000000000000000000000000000000000000000000000000000000000040340205850f1194c5c11735e09d43d7ce0ae3538f77f444c1c1d8a125b503cb4932c0014403f07020002c25af3107a4000030003402902d5f4d28216544037cb228af1d11d6b5b450672330035219d9491e2a01eba78bdafee1c1c34d6f05b020002000200ad188001622bc1174876e8000137a444473edd15a128ed81070ff3700ec1a2258c989b38f7e5c808af444444afe4610967000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b001c4e5f2386860b97fff00bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a00000000000000000000",
"signature": "89f8dd929ceec6f880a1960ed7262f1d925eccc99eeecb3610ccaa747812b0c42248dffec4e8127336fb80a210fe0b5b74c1f562a16c8404530af65abcbf5fe9",
"txId": "c87c73ad4bb3d6dca31af8d1d0463ea193aed32a740f67c592664088959784b2",
"unsignedTx": "000101010103000000081500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a7640000a214434f0b0b094021415641a041c541ec4243425a42bf42f04338010000000102a0010201010606000b1600a001a905b31601160216031604160574010002180540b916000c0d621401014113067b16000d11626e170216014c051602a0052f13077b1600111306626c170316020005170416040c0d626c170516050c3013087b16050e2c0f2d0d2a1706160616033213097b1600130616031340422c2a16004362170716074f4f1708130617090b170a0c170b160b1603314c40481600160916090d2a626c170c160c3f170d160d160a28130a7b160d170a160016090d2a16091340422a62170e160e134040134041626c131b2a170f160e0c13404062160f664417100d160c13142c2a171116041611161113142a6217121612160816107241130b7b16091340422a1709160b0d2a170b4a7fb416071308130a626d17131607130a130c626d17141607130c132c6217151607132c1334626f17161607133516074362171716131614161516161617020100040903402c1600030002170817071706170517041604ce012f0c7b1606ce02410d7b16071601340f7b16080c1320627116022f107b16081320132162160341117b160716051608020000020e020f1600a00013c0436f72651601000317041703170216020d2aa10016031604020000010101161600a0052f4c02a003021600a0042f4c0756a00632130c7ba002021307047c7b180100010800403016001401010004170217011601ce002f130d7b16020d10ce030105170617051704170316041400414c031603ba4a16a0006ba0016b44a0046b44a0056b441707160416074e41130e7b160316051606bb000000000008a003a102a005a104561385265c002aa1060100010600403a000716001401020004170217011601ce002f16010c2f1b130d7b160213211325626e17031603a0050d2a2f13077b160213251326626c170416040c3313087b1326160413142c2a170516024316052f0e7b1603a10516021325160562a10301000104001816001401030004170217011601ce002f130d7b16021321134041627117031602431340412f0e7b1603a1010102010500402516001401040004170217011601ce002f16010c2f1b130d7b160213211340416271170316021340411340616217041602431340612f0e7b140100160444631603a814404c040240ff020003402000000000000000000000000000000000000000000000000000000000000000040340205850f1194c5c11735e09d43d7ce0ae3538f77f444c1c1d8a125b503cb4932c0014406707020002c25af3107a40000300034051042f10c48859bf00f743971acb287b8876bc9ef7f38a3bc2996485a9e49b104601f40d7b75b79ce3a9ea7d9d838ea90d2316ab0c80c8d92719ad5885e899068b602684ac2227f21463bf90c29bcba651ef020002000200ad188000e76fc1174876e8000137a44447b2f5a02ba557b8e27678c604a8b48d9e36f0ed51e32aef4361485a0da9e212cb000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b001c40dc01372613b880000bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a00000000000000000000",
"signature": "b407961f6efe42eaeb49844be1e886270381111441bc2e51654eb567c774b5e524f34087c80f033c35ab644be42c975168b2df125256187b112e2d5832cd8dfe",
"gasPrice": "100000000000",
"gasAmount": 90667,
"blockHash": "00000017854c4249d529b4789888d89e365419ed95a72429f50b7640ece0fe60",
"codeHash": "abf905584baa54c7102b601c40730800b743a52cdd44cd47994be904bbb43909",
"gasAmount": 59247,
"blockHash": "000000243505eddf6581a75964311514d713376c751578a2217b41676fd3a760",
"codeHash": "ee4c5a4a6823b7e6c81a92da9d04a12a4bbfb4d4901c8afac833e7b31aed0ad9",
"contractInstance": {
"address": "29rbvzFRtHXW9GRg2caVDGSWWjHzHBYMUcEBFvFwaYnXy",
"contractId": "e1584b0db74fef7d16d2123765e70cc0c1b779bcdbba664bbd6485794876f200",
"address": "25qjdRj5hg18b5uWj1krgRAAnm6i6eqHoXmKG9GvemqrP",
"contractId": "a5b0aafe9d183b8a5811af6f82ae9a51721e159493cde4cec8da0f6cd64b7300",
"groupIndex": 0
}
},
"TokenBridge": {
"txId": "87fd29938cdf7e23c95fc7623d2afa0ec57ee62d3710ec2b39eb54e5c1aaf94e",
"unsignedTx": "000101010103000000081500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a7640000a2144467071140304066407b40c4411c417341d34202420b4252425f42c442d7432a438443b844430000020502121600a00013c7546f6b656e4272696467651601100fce00010317041703170216020d2aa100160316040200030508001dce00b11602160316041305640c1301641706170514010016026744170716001601a216070c0dce02010316051606c11801030202000916001601a216001601ce01b10300010000010502402716001401010000170217011601ce012f16010c2f1b130d7b160213211323626d17031603ce0130130f7b160213231340436217041602431340432f0e7b160316040201030308004031160000031704170316011602a21601160216031604040001ce00ce01b1160316040c0dce0201041306640c0c0c0c1304641706170514010116036744170716011602a216070c0dce02010216051606c1180100010800403016001401020000170217011601ce012f130d7b16020d10ce020105170617051704170316041400414c031603ba4a16a0006ba0016b44a0026644a00347441707160416074e41130e7b160316051606bb0100010800403516001401f00000170217011601ce012f130d7b160213211323621703160213231325626d170416040c3313147b1325160413082c2a170516024316052f0e7b160213251605621706140101160344cb170716060d0c1607010801000104001816001401f10000170217011601ce012f130d7b16024313222f0e7b160213211322626c17031603a102010000000102a003020100010600402616001401f20000170217011601ce012f130d7b160213211323626d1703132316032a170416024316042f0e7b16021323160462631705160548131c7b1605a1030100000001050c0dce000100020103070800403d16034313202f131e7b16044313202f131e7b16014313202f13107b160543102f13117b16001601a50c3313127b140102160144ce01674416026644160344160444170716000c0dce000100a216000c000c16051607160613060cce000101000000010108a0011700a0010d2aa10116000201030408004030140100ce016744cb1704b316044113157b16021600a50c3313127bb1ce01160016011304640c13016417061705140102ce016744160044170716021603a216070c0dce02010016051606c1180103080c00403014010016016744cb1708b316084113157bb11601160016021406414c504800011305640c160316041605130464170a170914010216016744160044170b16061607a2160b0c0dce0201011609160a0c0d36c21801000508001c14010016016744cb1705b316054113157b1401021601674416004417061606cb17071602160316040f0c1607010901030a0f00404c1609a00234131b7b1603ce013013137b1602ce012f170a14010216026744160144cb170b160a4c0e160016011605a316001604160516071608110d160b01094a0d1600160b1605a316001604160516071608110d160b010a170c14010116036744cb170d160d170e16001606a2160016030c0d160e01041608160c160913060cce00010114404a03034020e1584b0db74fef7d16d2123765e70cc0c1b779bcdbba664bbd6485794876f2000240ff0340205850f1194c5c11735e09d43d7ce0ae3538f77f444c1c1d8a125b503cb4932c001440290402000200020a0400bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80aad18800163dac1174876e8000137a4444701b6de54bebfe13fe3f1ef8a3e64c7af9fcd179a43531541446efe57c41850b2000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b001c4d7f12464205befff00bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a00000000000000000000",
"signature": "58da5dfb942c808dc6d9b9d847a812c446908bace0090ad33c90f4e1cd73df3c7341a3909a290df40e83c6949bbcc23906d8c8863e37f310cc7d382668dc33ac",
"txId": "57ab1b8457d9d2ee35ab129ed1b9d1e0f3c97fafb9a1cb074434ecb600bb4d68",
"unsignedTx": "000101010103000000081500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a7640000a2144467071140304066407b40c4411c417341d34202420b4252425f42c442d7432a438443b844430000020502121600a00013c7546f6b656e4272696467651601100fce00010317041703170216020d2aa100160316040200030508001dce00b11602160316041305640c1301641706170514010016026744170716001601a216070c0dce02010316051606c11801030202000916001601a216001601ce01b10300010000010502402716001401010000170217011601ce012f16010c2f1b130d7b160213211323626d17031603ce0130130f7b160213231340436217041602431340432f0e7b160316040201030308004031160000031704170316011602a21601160216031604040001ce00ce01b1160316040c0dce0201041306640c0c0c0c1304641706170514010116036744170716011602a216070c0dce02010216051606c1180100010800403016001401020000170217011601ce012f130d7b16020d10ce020105170617051704170316041400414c031603ba4a16a0006ba0016b44a0026644a00347441707160416074e41130e7b160316051606bb0100010800403516001401f00000170217011601ce012f130d7b160213211323621703160213231325626d170416040c3313147b1325160413082c2a170516024316052f0e7b160213251605621706140101160344cb170716060d0c1607010801000104001816001401f10000170217011601ce012f130d7b16024313222f0e7b160213211322626c17031603a102010000000102a003020100010600402616001401f20000170217011601ce012f130d7b160213211323626d1703132316032a170416024316042f0e7b16021323160462631705160548131c7b1605a1030100000001050c0dce000100020103070800403d16034313202f131e7b16044313202f131e7b16014313202f13107b160543102f13117b16001601a50c3313127b140102160144ce01674416026644160344160444170716000c0dce000100a216000c000c16051607160613060cce000101000000010108a0011700a0010d2aa10116000201030408004030140100ce016744cb1704b316044113157b16021600a50c3313127bb1ce01160016011304640c13016417061705140102ce016744160044170716021603a216070c0dce02010016051606c1180103080c00403014010016016744cb1708b316084113157bb11601160016021406414c504800011305640c160316041605130464170a170914010216016744160044170b16061607a2160b0c0dce0201011609160a0c0d36c21801000508001c14010016016744cb1705b316054113157b1401021601674416004417061606cb17071602160316040f0c1607010901030a0f00404c1609a00234131b7b1603ce013013137b1602ce012f170a14010216026744160144cb170b160a4c0e160016011605a316001604160516071608110d160b01094a0d1600160b1605a316001604160516071608110d160b010a170c14010116036744cb170d160d170e16001606a2160016030c0d160e01041608160c160913060cce00010114404a03034020a5b0aafe9d183b8a5811af6f82ae9a51721e159493cde4cec8da0f6cd64b73000240ff0340205850f1194c5c11735e09d43d7ce0ae3538f77f444c1c1d8a125b503cb4932c001440290402000200020a0400bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80aad188000e8cec1174876e8000237a44447018ae011f395350ddd129f9925a5226d8e185641b81a76322ba8008f419b8d4c000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b037a4444765df8eaa2bb34c6b2ffc597b67fb04ab6455c364169727e455753745386555b3000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b001c4452b674e0705c0cc00bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a00000000000000000000",
"signature": "7d07db28208573b868dc2abef6a6a40ff96225254aafa9b27c83a6ffca52e2700f94693599a0c3aa4587fb9bb4f8da426a9b333753d2ad43b9dba114a646ebcc",
"gasPrice": "100000000000",
"gasAmount": 91098,
"blockHash": "00000021f50bf26540e9e934348a67f26ca3515da2b765a2a5e040ca5edebf30",
"codeHash": "dce5115f767233c2c4045ed3db50c1f4348f9b7a5e43589842000119719c8bbc",
"gasAmount": 59598,
"blockHash": "0000002ec26dcd1250419086f75a1655f8ab440b020539ba38bb573e98b6a100",
"codeHash": "e748dbc2ab380041717493212bae22114ec51182939778980022d66596d9b023",
"contractInstance": {
"address": "yShQJUGBZXgoVEAeB6g1vtTpwccgKDGpuykg3fpX6seF",
"contractId": "46a3aba5f89a9c8ca01d1bfbd73c1f66ee5f3f99c323a1eaead1ab3d9237f400",
"address": "2AmwaxT1jGZ28wYB28m9zzD1dCT7cgm19tubLsUT7Lkxf",
"contractId": "ef024cb46f2c7fe1940818744bb64cb577df044b59e31690404be639eafe1800",
"groupIndex": 0
}
},
Expand All @@ -131,16 +131,16 @@
},
"scripts": {
"CreateLocalAttestTokenHandler": {
"signature": "82b52aca804ac6c028ef0247292875009930d442ac3c9d25cb0a1d443a355631096a77e4e08c04e9115751820136d28e7520b98468909df8620c8b1c3618c50b",
"signature": "2a8ba5b471ef5075a4aff1c0ede5504d71a251473a8cf7a5c4e49918c1a7fca6672e5bcf255455e677db7d965737dc0f7accdc10ca31562678daa9f5684ab9a3",
"fromGroup": 0,
"toGroup": 0,
"unsignedTx": "000101010103000000091500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a7640000a21500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a76400000e0c14402046a3aba5f89a9c8ca01d1bfbd73c1f66ee5f3f99c323a1eaead1ab3d9237f4000102800148d9c1174876e8000137a44447afb7192c82112b04e40e78013544364f4f4cea1d8cbcdef2b992ed2f72a9201a000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b001c4c9f2851bb2ed47ff00bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a00000000000000000000",
"gasAmount": 84185,
"unsignedTx": "000101010103000000091500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a7640000a21500bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a13c40de0b6b3a76400000e0c144020ef024cb46f2c7fe1940818744bb64cb577df044b59e31690404be639eafe180001028000cdcdc1174876e8000137a44447685565f5f4f8c5819136b8b072a6aaf0b098d1317246410fdb74ac008638460d000381818e63bd9e35a5489b52a430accefc608fd60aa2c7c0d1b393b5239aedf6b001c43737f8ee20a1f8cc00bee85f379545a2ed9f6cceb331288842f378cf0f04012ad4ac8824aae7d6f80a00000000000000000000",
"gasAmount": 52685,
"gasPrice": "100000000000",
"txId": "2ebb47d7bcf3a39aa7473e024d88fea8d40aa919a820ce3851d7176bb3910bf5",
"txId": "0cabdaf7e10f50f0aa40d2f67eca3bf0713c0a4f72a7a1aeda77abb6a124195e",
"groupIndex": 0,
"blockHash": "000000465b7988c25f99daf69587330b22a15c891a7bc60de8dc4269d2982340",
"codeHash": "8998bfc90b7099169dbd6690de1993865173d438c8da6e1c05eeedd06a9c4908",
"blockHash": "000000004b88f0bb717b440dfb32770456c359df9302adb979f41175dfd11ea0",
"codeHash": "42298f35194a07623b7fb3323f2c6f23f646fe670d89815af8f6573691facb93",
"attoAlphAmount": "1000000000000000000"
}
},
Expand Down
12 changes: 6 additions & 6 deletions configs/alephium/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"minimalConsistencyLevel": 10,
"messageFee": "100000000000000",
"contracts": {
"governance": "e1584b0db74fef7d16d2123765e70cc0c1b779bcdbba664bbd6485794876f200",
"nativeGovernance": "29rbvzFRtHXW9GRg2caVDGSWWjHzHBYMUcEBFvFwaYnXy",
"tokenBridge": "46a3aba5f89a9c8ca01d1bfbd73c1f66ee5f3f99c323a1eaead1ab3d9237f400",
"nativeTokenBridge": "yShQJUGBZXgoVEAeB6g1vtTpwccgKDGpuykg3fpX6seF",
"governance": "a5b0aafe9d183b8a5811af6f82ae9a51721e159493cde4cec8da0f6cd64b7300",
"nativeGovernance": "25qjdRj5hg18b5uWj1krgRAAnm6i6eqHoXmKG9GvemqrP",
"tokenBridge": "ef024cb46f2c7fe1940818744bb64cb577df044b59e31690404be639eafe1800",
"nativeTokenBridge": "2AmwaxT1jGZ28wYB28m9zzD1dCT7cgm19tubLsUT7Lkxf",
"bridgeRewardRouter": "a823248865e8fb2df52d6955abc5e6edf8a1e5f236f230d72423ec2eb51eaf00"
},
"nodeUrl": "https://alephium-testnet.alephium.org",
"explorerUrl": "https://backend-v113.testnet.alephium.org",
"networkId": 1,
"coreEmitterAddress": "e1584b0db74fef7d16d2123765e70cc0c1b779bcdbba664bbd6485794876f200",
"tokenBridgeEmitterAddress": "46a3aba5f89a9c8ca01d1bfbd73c1f66ee5f3f99c323a1eaead1ab3d9237f400",
"coreEmitterAddress": "a5b0aafe9d183b8a5811af6f82ae9a51721e159493cde4cec8da0f6cd64b7300",
"tokenBridgeEmitterAddress": "ef024cb46f2c7fe1940818744bb64cb577df044b59e31690404be639eafe1800",
"bridgeTokens": [
"0000000000000000000000000000000000000000000000000000000000000000"
]
Expand Down
8 changes: 4 additions & 4 deletions configs/ethereum/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"chainId": 2,
"wrappedNative": "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6",
"contracts": {
"governance": "0x1a97D595Ad7830aAc17B5B3E29A5287E46205c35",
"tokenBridge": "0x240bFE8403f9c64Fbf82C7ba076F80022067dA9B",
"governance": "0xD583089D29311C6E8d075c699404aB0eC539b0B7",
"tokenBridge": "0x3a93b292Ac5ad34dDc4260fF03BFD28e134A082d",
"wrappedNative": "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6"
},
"nodeUrl": "https://goerli.infura.io/v3/",
"coreEmitterAddress": "0000000000000000000000001a97D595Ad7830aAc17B5B3E29A5287E46205c35",
"tokenBridgeEmitterAddress": "000000000000000000000000240bFE8403f9c64Fbf82C7ba076F80022067dA9B",
"coreEmitterAddress": "000000000000000000000000D583089D29311C6E8d075c699404aB0eC539b0B7",
"tokenBridgeEmitterAddress": "0000000000000000000000003a93b292Ac5ad34dDc4260fF03BFD28e134A082d",
"bridgeTokens": [
"0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6"
]
Expand Down
1 change: 1 addition & 0 deletions ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"build": "truffle compile",
"test": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && CHAIN_NAME=ethereum truffle test --network test",
"migrate": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 6",
"migrate:goerli": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 6 --network goerli --skip-dry-run",
"flatten": "mkdir -p node_modules/@poanet/solidity-flattener/contracts && cp -r contracts/* node_modules/@poanet/solidity-flattener/contracts/ && poa-solidity-flattener",
"verify": "patch -u -f node_modules/truffle-plugin-verify/constants.js -i truffle-verify-constants.patch; truffle run verify $npm_config_module@$npm_config_contract_address --network $npm_config_network",
"abigen": "truffle run abigen"
Expand Down
15 changes: 9 additions & 6 deletions ethereum/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,17 @@ module.exports = {
},
goerli: {
provider: () => {
return new HDWalletProvider(
process.env.MNEMONIC,
"wss://goerli.infura.io/ws/v3/" + process.env.INFURA_KEY
);
return new HDWalletProvider({
mnemonic: {
phrase: process.env.MNEMONIC,
},
providerOrUrl: 'https://goerli.infura.io/v3/' + process.env.INFURA_KEY,
pollingInterval: 8000,
});
},
network_id: "5",
gas: 4465030,
gasPrice: 10000000000,
gasPrice: 1000000000,
deploymentPollingInterval: 8000
},
bscTestnet: {
provider: () => new HDWalletProvider(process.env.MNEMONIC, 'https://data-seed-prebsc-1-s1.binance.org:8545'),
Expand Down

0 comments on commit 817bf2d

Please sign in to comment.