mirror of
https://github.com/getwax/bls-browser-wallet.git
synced 2026-01-08 20:47:58 -05:00
Update with current networks
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
"@types/node": "^16.7.13",
|
||||
"@types/react": "^18.0.0",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
"bls-wallet-clients": "0.8.3",
|
||||
"bls-wallet-clients": "0.9.0",
|
||||
"eslint": "^8.21.0",
|
||||
"ethdk": "^0.0.0-beta.4",
|
||||
"ethdk": "^0.0.0-beta.8",
|
||||
"ethers": "^5.7.2",
|
||||
"phosphor-react": "^1.4.1",
|
||||
"qrcode.react": "^3.1.0",
|
||||
|
||||
@@ -6,7 +6,14 @@ type NetworksType = {
|
||||
};
|
||||
|
||||
export const NETWORKS: NetworksType = {
|
||||
localhost: networks.BLS_NETWORKS.localhost,
|
||||
arbitrumGoerli: {
|
||||
...networks.BLS_NETWORKS.arbitrumGoerli,
|
||||
rpcUrl: process.env.REACT_APP_ARBITRUM_GOERLI_RPC ?? '',
|
||||
},
|
||||
optimismGoerli: {
|
||||
...networks.BLS_NETWORKS.optimismGoerli,
|
||||
rpcUrl: process.env.REACT_APP_OPTIMISM_GOERLI_RPC ?? '',
|
||||
},
|
||||
};
|
||||
|
||||
export function getNetwork(networkName: string) {
|
||||
|
||||
@@ -16,7 +16,7 @@ type LocalStoreType = {
|
||||
export const useLocalStore = create<LocalStoreType, any>(
|
||||
persist(
|
||||
() => ({
|
||||
network: 'localhost',
|
||||
network: 'optimismGoerli',
|
||||
address: '',
|
||||
privateKey: '',
|
||||
recoverySalt: {},
|
||||
|
||||
82
yarn.lock
82
yarn.lock
@@ -2,6 +2,39 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@account-abstraction/contracts@^0.5.0":
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@account-abstraction/contracts/-/contracts-0.5.0.tgz#a089aee7b4c446251fbbce7df315bbf8f659e37f"
|
||||
integrity sha512-CKyS9Zh5rcYUM+4B6TlaB9+THHzJ+6TY3tWF5QofqvFpqGNvIhF8ddy6wyCmqZw6TB74/yYv7cYD/RarVudfDg==
|
||||
|
||||
"@account-abstraction/sdk@^0.5.0":
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@account-abstraction/sdk/-/sdk-0.5.0.tgz#fb306ecb1dba82e10a0277ab716890acf1d2d1ed"
|
||||
integrity sha512-KuEG9UVl2kEhamevFmPJfqY5AQH4fRLnFhfWAdoqwxIZIuSyA8wfyzM9WKnDPSCaiApLvSzckjRwbs4dVoOp2Q==
|
||||
dependencies:
|
||||
"@account-abstraction/contracts" "^0.5.0"
|
||||
"@account-abstraction/utils" "^0.5.0"
|
||||
"@ethersproject/abstract-provider" "^5.7.0"
|
||||
"@ethersproject/abstract-signer" "^5.7.0"
|
||||
"@ethersproject/networks" "^5.7.0"
|
||||
"@ethersproject/properties" "^5.7.0"
|
||||
"@ethersproject/providers" "^5.7.0"
|
||||
"@types/debug" "^4.1.7"
|
||||
debug "^4.3.4"
|
||||
ethers "^5.7.0"
|
||||
|
||||
"@account-abstraction/utils@^0.5.0":
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@account-abstraction/utils/-/utils-0.5.0.tgz#aa7925741048b1657a71d7f98ccaf3c187f99b4a"
|
||||
integrity sha512-dgXguTn5WgFMmr3wQMdLGEoIMDcIJgzAv74YlHeb2D3Nyy1pByPArSb3eLOOcgxCJSJeqTscpO9P57uhNkkC4A==
|
||||
dependencies:
|
||||
"@account-abstraction/contracts" "^0.5.0"
|
||||
"@ethersproject/abi" "^5.7.0"
|
||||
"@ethersproject/providers" "^5.7.0"
|
||||
"@openzeppelin/contracts" "^4.7.3"
|
||||
debug "^4.3.4"
|
||||
ethers "^5.7.0"
|
||||
|
||||
"@adobe/css-tools@^4.0.1":
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.0.1.tgz#b38b444ad3aa5fedbb15f2f746dcd934226a12dd"
|
||||
@@ -1701,7 +1734,7 @@
|
||||
bech32 "1.1.4"
|
||||
ws "7.4.6"
|
||||
|
||||
"@ethersproject/providers@5.7.2":
|
||||
"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.7.0":
|
||||
version "5.7.2"
|
||||
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb"
|
||||
integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==
|
||||
@@ -2389,6 +2422,11 @@
|
||||
"@nodelib/fs.scandir" "2.1.5"
|
||||
fastq "^1.6.0"
|
||||
|
||||
"@openzeppelin/contracts@^4.7.3":
|
||||
version "4.8.3"
|
||||
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.8.3.tgz#cbef3146bfc570849405f59cba18235da95a252a"
|
||||
integrity sha512-bQHV8R9Me8IaJoJ2vPG4rXcL7seB7YVuskr4f+f5RyOStSZetwzkWtoqDMl5erkBJy0lDRUnIR2WIkPiC0GJlg==
|
||||
|
||||
"@pmmmwh/react-refresh-webpack-plugin@^0.5.3":
|
||||
version "0.5.7"
|
||||
resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.7.tgz#58f8217ba70069cc6a73f5d7e05e85b458c150e2"
|
||||
@@ -2719,6 +2757,13 @@
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/debug@^4.1.7":
|
||||
version "4.1.7"
|
||||
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82"
|
||||
integrity sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==
|
||||
dependencies:
|
||||
"@types/ms" "*"
|
||||
|
||||
"@types/eslint-scope@^3.7.3":
|
||||
version "3.7.4"
|
||||
resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16"
|
||||
@@ -2838,6 +2883,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10"
|
||||
integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==
|
||||
|
||||
"@types/ms@*":
|
||||
version "0.7.31"
|
||||
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197"
|
||||
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==
|
||||
|
||||
"@types/node@*":
|
||||
version "18.7.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.1.tgz#352bee64f93117d867d05f7406642a52685cbca6"
|
||||
@@ -3718,19 +3768,10 @@ binary-extensions@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
||||
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
||||
|
||||
bls-wallet-clients@0.8.2-1452ef5:
|
||||
version "0.8.2-1452ef5"
|
||||
resolved "https://registry.yarnpkg.com/bls-wallet-clients/-/bls-wallet-clients-0.8.2-1452ef5.tgz#d76e938ca45ec5da44c8e59699d1bd5f6c69dcd2"
|
||||
integrity sha512-bg7WLr9NRbvDzj+zgkLNfaPzr1m0m13Cc8RJoZ2s6s+ic7WxSiwxTkZGc2SChFgmG8ZGi1O9DnR6//lrTsMVUA==
|
||||
dependencies:
|
||||
"@thehubbleproject/bls" "^0.5.1"
|
||||
ethers "^5.7.2"
|
||||
node-fetch "2.6.7"
|
||||
|
||||
bls-wallet-clients@0.8.3:
|
||||
version "0.8.3"
|
||||
resolved "https://registry.yarnpkg.com/bls-wallet-clients/-/bls-wallet-clients-0.8.3.tgz#7d3ee34ad3508ee730f3c4766980301bc3625d61"
|
||||
integrity sha512-U5CQ7dZXIDmThu7spZyEhAgXyZ1FkamQk5jjV024L3egPr5zhenaeghdRqnjgp5YJ0PuxeFbe0c3SC5s42z7tQ==
|
||||
bls-wallet-clients@0.9.0:
|
||||
version "0.9.0"
|
||||
resolved "https://registry.yarnpkg.com/bls-wallet-clients/-/bls-wallet-clients-0.9.0.tgz#edfbdb24011856b52d9b438af174b6acbeda27ec"
|
||||
integrity sha512-ebEifAPkGfTft6xdVVgQfC6HEXzgw+wX2d76w2K1OUsB4FeKiAYRLMXtnKtl7tdQoMknHElD6xrLChKaCACYLQ==
|
||||
dependencies:
|
||||
"@thehubbleproject/bls" "^0.5.1"
|
||||
ethers "^5.7.2"
|
||||
@@ -5307,12 +5348,13 @@ etag@~1.8.1:
|
||||
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
|
||||
integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==
|
||||
|
||||
ethdk@^0.0.0-beta.4:
|
||||
version "0.0.0-beta.4"
|
||||
resolved "https://registry.yarnpkg.com/ethdk/-/ethdk-0.0.0-beta.4.tgz#97e3859d481aa22b3e5e3212ff031fd5c60e293a"
|
||||
integrity sha512-8yvt/3bHju9tH+/QCanmvI/GXH0mTQmN8QuFZjzRrTJuirbSYsuatDgiu8bq/iW/sr0YXdpHPtlGP8HSLi30UA==
|
||||
ethdk@^0.0.0-beta.8:
|
||||
version "0.0.0-beta.8"
|
||||
resolved "https://registry.yarnpkg.com/ethdk/-/ethdk-0.0.0-beta.8.tgz#719b67c12ca3b80cb220283d6a53a262d70abb2b"
|
||||
integrity sha512-eqOjxZo0tYdye/OgucF54hmjvervpjgs+sDZfN0nHPdLsiquveGQWKWYYkUJ5JN8HK1QQ9L0Q3EYul2pUf4B6w==
|
||||
dependencies:
|
||||
bls-wallet-clients "0.8.2-1452ef5"
|
||||
"@account-abstraction/sdk" "^0.5.0"
|
||||
bls-wallet-clients "0.9.0"
|
||||
ethers "^5.7.2"
|
||||
|
||||
ethers@^5.5.3:
|
||||
@@ -5351,7 +5393,7 @@ ethers@^5.5.3:
|
||||
"@ethersproject/web" "5.6.1"
|
||||
"@ethersproject/wordlists" "5.6.1"
|
||||
|
||||
ethers@^5.7.2:
|
||||
ethers@^5.7.0, ethers@^5.7.2:
|
||||
version "5.7.2"
|
||||
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e"
|
||||
integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==
|
||||
|
||||
Reference in New Issue
Block a user