Skip to content

feat: add arbitrum rinkeby support #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ REACT_APP_FRAME_SITE_URL=https://frame.sh/
REACT_APP_METAMASK_SITE_URL=https://metamask.io
REACT_APP_TRUST_SITE_URL=https://trustwallet.com
REACT_APP_DEFAULT_NETWORK=1
REACT_APP_DEFAULT_TCR_ADDRESSES={"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","5":"0x445eceA26d5ec40E177e6Ca2734821D8430a9C1A","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI={"5":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html"}
REACT_APP_DEFAULT_TCR_ADDRESSES={"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","5":"0x445eceA26d5ec40E177e6Ca2734821D8430a9C1A","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615","421611":"0x7971Ef3839D6199c5fF296E7f1a53d56aCE9145b"}
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI={"5":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html","421611":"0xD16c7343fB4241acd7c80eF36fF8e45C1629b72B"}
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI_CLASSIC={"1":"/ipfs/QmPJ5H5YF4fbSxA5j53CcmZAhGywxKPPiiWvJM7Zp8Zx9T/index.html"}
REACT_APP_GTCRVIEW_ADDRESSES={"5":"0xc0DEc3faBaEC835aC77F1dE683Ce978677fd2217","42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9","1":"0xe75a12f40da77d285c08a44f499e597bc5085658","4":"0x31e8d06b5fc3856cc93f4172d335626c680af1a7","100":"0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF"}
REACT_APP_LGTCRVIEW_ADDRESSES={"5":"0x9738E402fEb8B306cE7C707Ec4ad6D66595A5EF6","42":"0x60631cf0bbBEFE7FdEfFE51F00Faa240b4349Fee","100":"0xB32e38B08FcC7b7610490f764b0F9bFd754dCE53","4":"0x59b065db3423fd981b56c2bc1ae8e16b0a8b31a4","1":"0xe82a69e939e1aB6Dc1868262cfe444F70098cCC8"}
REACT_APP_BATCH_WITHDRAW_ADDRESSES={"5":"0x2d4d822CE88947F8C2b250ADcd684ea52dAFEaa7","42":"0xA32942798112e561d4d3ffc62c552bb0E9651b66","1":"0x38aa214dc986d0bab53e5861071f3d5a56066b4d","4":"0x84f33254f4f6f55c65f9e1b34d6d13ea851d8540"}
REACT_APP_LIGHT_BATCH_WITHDRAW_ADDRESSES={"5":"0xBA4F30b3ae9d923fC5f82AE7d965c619F92DFffA","42":"0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3","4":"0x0bf2E341247d2d6402ba7905B4988Dd135392cdD","1":"0x5C6363cFA9462Ae11e22d2A5A0eb15dbB8719E4A","100":"0x36B00c87553330E4351ED0CB287ed3917c12a197"}
REACT_APP_FACTORY_ADDRESSES={"5":"0x9AaD77bAb5F18165F9Ca81dA9c3D392D9E382c23","42":"0x4296b39059b8591d4f22a0fc4ee49508279b8fc6","1":"0xe9dd523600b74b8ef0af164687079a6c437f9cd5","4":"0x6cc238531c535e91f0621a172c3a07da93b299b3","100":"0x794Cee5a6e1501b633eC13b8c1e327d9860FE039"}
REACT_APP_LGTCR_FACTORY_ADDRESSES={"5":"0x55A3d9Bd99F286F1817CAFAAB124ddDDFCb0F314","42":"0x74A69142027357B605302925D7f5c01362627566","4":"0xcd104ac86cebe541eb8285610002a4e28fe58735","100":"0x08e58Bc26CFB0d346bABD253A1799866F269805a","1":"0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054"}
REACT_APP_DEFAULT_GOVERNOR={"5":{"address":"0xd74AB183e2B793A68cB3e647D8f4Df60936B59cA","label":"Goerli Kleros Governor"},"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"}}
REACT_APP_DEFAULT_ARBITRATOR={"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"5":{"label":"Kleros","address":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"}}
REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA={"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"4":{"label":"Not used","data":"0x00"},"5":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"}}
REACT_APP_KLEROS_ADDRESSES={"5":{"arbitrator":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}
REACT_APP_TX_BATCHER_ADDRESSES={"5":"0x394E870A068E9C623aC6Bc51d53cc4a040420e8e","1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac"}
REACT_APP_SUBGRAPH_URL={"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","5":"https://api.thegraph.com/subgraphs/name/greenlucid/curate-goerli","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii"}
REACT_APP_GTCRVIEW_ADDRESSES={"5":"0xc0DEc3faBaEC835aC77F1dE683Ce978677fd2217","42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9","1":"0xe75a12f40da77d285c08a44f499e597bc5085658","4":"0x31e8d06b5fc3856cc93f4172d335626c680af1a7","100":"0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF","421611":"0xD16c7343fB4241acd7c80eF36fF8e45C1629b72B"}
REACT_APP_LGTCRVIEW_ADDRESSES={"5":"0x9738E402fEb8B306cE7C707Ec4ad6D66595A5EF6","42":"0x60631cf0bbBEFE7FdEfFE51F00Faa240b4349Fee","100":"0xB32e38B08FcC7b7610490f764b0F9bFd754dCE53","4":"0x59b065db3423fd981b56c2bc1ae8e16b0a8b31a4","1":"0xe82a69e939e1aB6Dc1868262cfe444F70098cCC8","421611":"0xE86f3aA740E47B35CB974dF79897Ca2c8467ac72"}
REACT_APP_BATCH_WITHDRAW_ADDRESSES={"5":"0x2d4d822CE88947F8C2b250ADcd684ea52dAFEaa7","42":"0xA32942798112e561d4d3ffc62c552bb0E9651b66","1":"0x38aa214dc986d0bab53e5861071f3d5a56066b4d","4":"0x84f33254f4f6f55c65f9e1b34d6d13ea851d8540","421611":"0xb96f168BEF8c3Ce0EDEC0c85556D8F721B79709E"}
REACT_APP_LIGHT_BATCH_WITHDRAW_ADDRESSES={"5":"0xBA4F30b3ae9d923fC5f82AE7d965c619F92DFffA","42":"0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3","4":"0x0bf2E341247d2d6402ba7905B4988Dd135392cdD","1":"0x5C6363cFA9462Ae11e22d2A5A0eb15dbB8719E4A","100":"0x36B00c87553330E4351ED0CB287ed3917c12a197","421611":"0x2692c903E6bFcc1420b7396AD2841bC199A3Bd9f"}
REACT_APP_FACTORY_ADDRESSES={"5":"0x9AaD77bAb5F18165F9Ca81dA9c3D392D9E382c23","42":"0x4296b39059b8591d4f22a0fc4ee49508279b8fc6","1":"0xe9dd523600b74b8ef0af164687079a6c437f9cd5","4":"0x6cc238531c535e91f0621a172c3a07da93b299b3","100":"0x794Cee5a6e1501b633eC13b8c1e327d9860FE039","421611":"0x65b966068F7cce87526C15D143daDf79476BD0A9"}
REACT_APP_LGTCR_FACTORY_ADDRESSES={"5":"0x55A3d9Bd99F286F1817CAFAAB124ddDDFCb0F314","42":"0x74A69142027357B605302925D7f5c01362627566","4":"0xcd104ac86cebe541eb8285610002a4e28fe58735","100":"0x08e58Bc26CFB0d346bABD253A1799866F269805a","1":"0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054","421611":"0xBf429eA497b295Ecb26c5dbfF396C90df82F4b44"}
REACT_APP_DEFAULT_GOVERNOR={"5":{"address":"0xd74AB183e2B793A68cB3e647D8f4Df60936B59cA","label":"Goerli Kleros Governor"},"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"421611":{"address":"0xF50E77f2A2B6138D16c6c7511562E5C33c4B15A3","label":"Arbitrum Rinkeby Kleros Governor"}}
REACT_APP_DEFAULT_ARBITRATOR={"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"5":{"label":"Kleros","address":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"},"421611":{"label":"Kleros","address":"0x815d709efcf5e69e2e9e2f8d3815d762496a2f0f"}}
REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA={"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"4":{"label":"Not used","data":"0x00"},"5":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"},"421611":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003"}}

# If the user selects one of these addresses as the arbitrator on the factory, we can hide the arbitrator extra data field and display user friendly fields: Number of Jurors, Court.
REACT_APP_KLEROS_ADDRESSES={"5":{"arbitrator":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A","policy":"0x2692c903e6bfcc1420b7396ad2841bc199a3bd9f","uiURL":"https://court.kleros.io/cases/:disputeID"},"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"},"421611":{"arbitrator":"0x815d709efcf5e69e2e9e2f8d3815d762496a2f0f","policy":"0x76262035D1b280cC0b08024177b837893bcAd3DA","uiURL":"https://kleros-v2.netlify.app/cases/:disputeID"}}
REACT_APP_TX_BATCHER_ADDRESSES={"5":"0x394E870A068E9C623aC6Bc51d53cc4a040420e8e","1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac","421611":"0x6396904204e6c430b0e9e6c9eeafd09b7ccc428f"}
REACT_APP_SUBGRAPH_URL={"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","5":"https://api.thegraph.com/subgraphs/name/greenlucid/curate-goerli","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii","421611":"https://api.thegraph.com/subgraphs/name/greenlucid/curate-arbitrum-rinkeby"}
REACT_APP_REJECT_ALL_POLICY_URI="/ipfs/QmZ7RVU7re1g8nXDbAFMHV99pyie3dn4cY7Ga2X4h8mDpV/reject-all-policy.pdf"

# Twitter client
Expand All @@ -30,13 +32,11 @@ REACT_APP_CORS_PROXY_URL=https://curate-cors.herokuapp.com

# All fields below this line are optional -------------

# If the user selects one of these addresses as the arbitrator on the factory, we can hide the arbitrator extra data field and display user friendly fields: Number of Jurors, Court.

REACT_APP_WALLETCONNECT_BRIDGE_URL=https://bridge.walletconnect.org
REACT_APP_NOTIFICATIONS_API_URL=http://localhost:3001
# JSON string mapping networkID to JSON RPC url.
# Example: REACT_APP_RPC_URLS={"1":"https://mainnet.infura.io/v3/1337deadbeef...", "42":"https://kovan.infura.io/v3/1337deadbeef..."}
REACT_APP_RPC_URLS={"100":"https://rpc.xdaichain.com/","1":"https://mainnet.infura.io/v3/","42":"https://kovan.infura.io/v3/","4":"https://rinkeby.infura.io/v3/"}
REACT_APP_RPC_URLS={"100":"https://rpc.xdaichain.com/","1":"https://mainnet.infura.io/v3/","42":"https://kovan.infura.io/v3/","4":"https://rinkeby.infura.io/v3/","421611":"https://rinkeby.arbitrum.io/rpc"}

# JSON string mapping networkID to Fortmatic api key.
# Example: REACT_APP_FORMATIC_API_KEYS={"1":"pk_live_FCEE7548E5...", "42":"pk_live_0916382..."}
Expand Down
Loading