Skip to content

Commit

Permalink
update config with for final testing
Browse files Browse the repository at this point in the history
  • Loading branch information
r0wdy1 committed Sep 9, 2024
1 parent ee43693 commit 48350d1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"wagmi": "^0.12.1",
"web-vitals": "^1.0.1",
"webpack": "^5.70.0",
"zkbob-client-js": "6.0.0-beta9"
"zkbob-client-js": "6.0.0-beta10"
},
"scripts": {
"start": "react-app-rewired start",
Expand Down
15 changes: 14 additions & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,27 @@ const config = {
rpcUrls: ['https://rpc.ankr.com/polygon', 'https://polygon-rpc.com', 'https://polygon-mainnet.g.alchemy.com/v2/fnUqqB1tThPuSpM33VFm26wqXISKPS2n'],
},
'10': {
rpcUrls: ['https://rpc.ankr.com/optimism', 'https://opt-mainnet.g.alchemy.com/v2/fnUqqB1tThPuSpM33VFm26wqXISKPS2n','https://optimism-mainnet.infura.io/v3/9a94d181b23846209f01161dcd0f9ad6'],
rpcUrls: ['https://virtual.optimism.rpc.tenderly.co/fb1a77c3-e7f5-4622-aee5-85025a99a658'],
},

'728126428': {
rpcUrls: ['https://few-methodical-breeze.tron-mainnet.quiknode.pro/c9e0de7204463ff25a6ca3afd1bd32caf880561e', 'https://api.trongrid.io'],
external: "https://tron.zkbob.com/"
},
},
"snarkParamsSet": {
"prod": process.env.REACT_APP_HOSTING === 'netlify' ? {
transferParamsUrl: 'https://r2.zkbob.com/transfer_params_22022023.bin',
transferVkUrl: 'https://r2.zkbob.com/transfer_verification_key_22022023.json',
} : {
transferParamsUrl: 'https://5tqpkqtbrkd5ookgni4yydvxgsnaazxl53pdgymjgkiaqwb56lzq.arweave.net/7OD1QmGKh9c5Rmo5jA63NJoAZuvu3jNhiTKQCFg98vM',
transferVkUrl: 'https://rhm3gvehfvhrnll2cuuem2s77hruahjgifqctaw7ld2z37ehpcta.arweave.net/idmzVIctTxatehUoRmpf-eNAHSZBYCmC31j1nfyHeKY',
},
"prod-arweave": {
transferParamsUrl: 'https://5tqpkqtbrkd5ookgni4yydvxgsnaazxl53pdgymjgkiaqwb56lzq.arweave.net/7OD1QmGKh9c5Rmo5jA63NJoAZuvu3jNhiTKQCFg98vM',
transferVkUrl: 'https://rhm3gvehfvhrnll2cuuem2s77hruahjgifqctaw7ld2z37ehpcta.arweave.net/idmzVIctTxatehUoRmpf-eNAHSZBYCmC31j1nfyHeKY',
}
}
},
// snarkParams: process.env.REACT_APP_HOSTING === 'netlify' ? {
// transferParamsUrl: 'https://r2.zkbob.com/transfer_params_22022023.bin',
Expand Down
27 changes: 4 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9314,11 +9314,6 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==

err-code@^2.0.2:
version "2.0.3"
resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9"
integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==

error-ex@^1.3.1:
version "1.3.2"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
Expand Down Expand Up @@ -14895,14 +14890,6 @@ progress@^2.0.0, progress@^2.0.3:
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==

promise-retry@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22"
integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==
dependencies:
err-code "^2.0.2"
retry "^0.12.0"

promise-throttle@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/promise-throttle/-/promise-throttle-1.1.2.tgz#8a59d0424b6f9673aa8405c8b6bd4b5e4f7f71db"
Expand Down Expand Up @@ -15861,11 +15848,6 @@ restore-cursor@^2.0.0:
onetime "^2.0.0"
signal-exit "^3.0.2"

retry@^0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b"
integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==

retry@^0.13.1:
version "0.13.1"
resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658"
Expand Down Expand Up @@ -19015,10 +18997,10 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

[email protected]beta9:
version "6.0.0-beta9"
resolved "https://registry.yarnpkg.com/zkbob-client-js/-/zkbob-client-js-6.0.0-beta9.tgz#c08c7832acb3ca52fb92dd9bb340023e356ccd6b"
integrity sha512-IIUWosrPADbDXTOdc3Wkhi0VFMdkSCXoC41d6OXYch32zDjjVvhDKoKoLA04FxU2rIy6bqOEKLO45m1kGKyvIw==
[email protected]beta10:
version "6.0.0-beta10"
resolved "https://registry.yarnpkg.com/zkbob-client-js/-/zkbob-client-js-6.0.0-beta10.tgz#90a76a4c7e7722d8f6160e0742a52666e1276b31"
integrity sha512-arMjVWSfwNbXdwvNHdWx/6kDuxKlE1eRVRLIpedlc80jr00gek0xQDfcX4tWSvczmczUKaDSoZpGs48C8OKe8Q==
dependencies:
"@ethereumjs/util" "^8.0.2"
"@graphprotocol/client-cli" "3.0.0"
Expand All @@ -19033,7 +19015,6 @@ [email protected]:
idb "^7.0.0"
libzkbob-rs-wasm-web "1.7.0-beta5"
libzkbob-rs-wasm-web-mt "1.7.0-beta5"
promise-retry "^2.0.1"
promise-throttle "^1.1.2"
regenerator-runtime "^0.13.9"
tronweb "^5.3.0"
Expand Down

0 comments on commit 48350d1

Please sign in to comment.