@@ -128,4 +128,76 @@ module.exports = {
128128 U : BigInt ( 5 ) , // non square in Fp
129129 } ,
130130 MAX_QUEUE : 5 ,
131+ ENVIRONMENTS : {
132+ mainnet : {
133+ name : 'Mainnet' ,
134+ chainId : 1 ,
135+ clientApiUrl : '' ,
136+ optimistApiUrl : '' ,
137+ optimistWsUrl : '' ,
138+ web3WsUrl : '' ,
139+ } ,
140+ ropsten : {
141+ name : 'Ropsten' ,
142+ chainId : 3 ,
143+ clientApiUrl : 'https://client1.testnet.nightfall3.com' ,
144+ optimistApiUrl : 'https://optimist1.testnet.nightfall3.com' ,
145+ optimistWsUrl : 'wss://optimist1-ws.testnet.nightfall3.com' ,
146+ web3WsUrl : `${ process . env . ROPSTEN_NODE } ` ,
147+ } ,
148+ rinkeby : {
149+ name : 'Rinkeby' ,
150+ chainId : 4 ,
151+ clientApiUrl : '' ,
152+ optimistApiUrl : '' ,
153+ optimistWsUrl : '' ,
154+ web3WsUrl : '' ,
155+ } ,
156+ localhost : {
157+ name : 'Localhost' ,
158+ chainId : 4378921 ,
159+ clientApiUrl : 'http://localhost:8080' ,
160+ optimistApiUrl : 'http://localhost:8081' ,
161+ optimistWsUrl : 'ws://localhost:8082' ,
162+ web3WsUrl : 'ws://localhost:8546' ,
163+ } ,
164+ } ,
165+ TEST_OPTIONS : {
166+ tokenId : '0x00' ,
167+ tokenType : 'ERC20' , // it can be 'ERC721' or 'ERC1155'
168+ tokenTypeERC721 : 'ERC721' ,
169+ tokenTypeERC1155 : 'ERC1155' ,
170+ value : 10 ,
171+ // this is the etherum private key for accounts[0]
172+ privateKey : '0x4775af73d6dc84a0ae76f8726bda4b9ecf187c377229cb39e1afa7a18236a69e' ,
173+ gas : 10000000 ,
174+ gasCosts : 8000000000000000 ,
175+ fee : 1 ,
176+ BLOCK_STAKE : 1 , // 1 wei
177+ bond : 10 , // 10 wei
178+ txPerBlock : 2 ,
179+ walletTestAddress : '0xfCb059A4dB5B961d3e48706fAC91a55Bad0035C9' ,
180+ walletTestSigningkey : '0xd42905d0582c476c4b74757be6576ec323d715a0c7dcff231b6348b7ab0190eb' ,
181+ ethereumSigningKeyUser1 : '0x4775af73d6dc84a0ae76f8726bda4b9ecf187c377229cb39e1afa7a18236a69e' ,
182+ ethereumAddressUser1 : '0x9c8b2276d490141ae1440da660e470e7c0349c63' ,
183+ ethereumSigningKeyUser2 : '0x4775af73d6dc84a0ae76f8726bda4b9ecf187c377229cb39e1afa7a18236a69e' ,
184+ ethereumSigningKeyProposer1 :
185+ '0x4775af73d6dc84a0ae76f8726bda4b9ecf187c377229cb39e1afa7a18236a69d' ,
186+ ethereumSigningKeyProposer2 :
187+ '0xd42905d0582c476c4b74757be6576ec323d715a0c7dcff231b6348b7ab0190eb' ,
188+ ethereumSigningKeyProposer3 :
189+ '0xfbc1ee1c7332e2e5a76a99956f50b3ba2639aff73d56477e877ef8390c41e0c6' ,
190+ ethereumSigningKeyChallenger :
191+ '0xd42905d0582c476c4b74757be6576ec323d715a0c7dcff231b6348b7ab0190eb' ,
192+ ethereumSigningKeyLiquidityProvider :
193+ '0xfbc1ee1c7332e2e5a76a99956f50b3ba2639aff73d56477e877ef8390c41e0c6' ,
194+ mnemonicUser1 : 'trip differ bamboo bundle bonus luxury strike mad merry muffin nose auction' ,
195+ mnemonicUser2 :
196+ 'control series album tribe category saddle prosper enforce moon eternal talk fame' ,
197+ mnemonicProposer : 'high return hold whale promote payment hat panel reduce oyster ramp mouse' ,
198+ mnemonicChallenger :
199+ 'crush power outer gadget enter maze advance rather divert monster indoor axis' ,
200+ mnemonicLiquidityProvider :
201+ 'smart base soup sister army address member poem point quick save penalty' ,
202+ } ,
131203} ;
0 commit comments