From a398c653258a7ea377ae0f7ffc076625882647af Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 29 May 2024 11:55:55 +0300 Subject: [PATCH] added scroll chain --- README.md | 3 ++ package-lock.json | 28 +++++++++---------- package.json | 6 ++-- public/resources/networks/redesign/scroll.svg | 12 ++++++++ src/config/providers/providers.ts | 1 + src/consts/networks.js | 1 + 6 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 public/resources/networks/redesign/scroll.svg diff --git a/README.md b/README.md index b60a5ae0e9..b3ab4b4c78 100644 --- a/README.md +++ b/README.md @@ -510,3 +510,6 @@ Those contracts (except Ethereum-specific WALLET, xWALLET and SupplyController) - Update humanizer with more dapps - New ambire-common version 1.0.3 - Changed the RPCs endpoints to Ambire RPC proxy + +### v0.7.8 +- Scroll Chain support added. \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3890f46df6..77778b14d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ambire-wallet", - "version": "0.7.7", + "version": "0.7.8", "lockfileVersion": 2, "requires": true, "packages": { @@ -30,8 +30,8 @@ "@walletconnect/web3wallet": "^1.8.6", "@web3-react/abstract-connector": "^6.0.7", "@web3-react/types": "^6.0.7", - "adex-protocol-eth": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#4ddebac4109e9709c4cc862ee0708f208dac9ee2", - "ambire-common": "npm:@ambire/common@^1.0.14", + "adex-protocol-eth": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#2606263234a7e01ece1af9826e6084fd800dae8f", + "ambire-common": "npm:@ambire/common@1.0.15", "bip44-constants": "^128.0.0", "blockies-ts": "^1.0.0", "chart.js": "^3.9.1", @@ -13391,8 +13391,8 @@ }, "node_modules/adex-protocol-eth": { "version": "5.2.18", - "resolved": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#4ddebac4109e9709c4cc862ee0708f208dac9ee2", - "integrity": "sha512-3HOkg4jrCyvZnKJert45ioB97/g1Eprgw1op/ienGzmsj8aodnzhEXnfQaRCQgwEt9yyDZOY7vkyIfjNA5tRKA==", + "resolved": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#2606263234a7e01ece1af9826e6084fd800dae8f", + "integrity": "sha512-r06LagK1DR+Vd7ydlXvO+lP0/6s8yMmstTzwBUj3B9Pjvd1tf63DL5XYj3B5e2s+jfxYH7bYEaaN6K3isciY2Q==", "license": "MIT", "dependencies": { "@openzeppelin/test-helpers": "^0.5.10", @@ -13586,9 +13586,9 @@ }, "node_modules/ambire-common": { "name": "@ambire/common", - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@ambire/common/-/common-1.0.14.tgz", - "integrity": "sha512-JdLFl0psRhG/T8bu+rxN1eN2PlC09ASJ0qm/abYhx1YbY6diMZUzIH6c9zk1I8wzbyNCgpNuVwjfTIkwykadZQ==", + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@ambire/common/-/common-1.0.15.tgz", + "integrity": "sha512-jFoPTVu3e62vGbB5b/on8FUinP2vHLEPB2PWieqaJVll+mxsQSM4Gf/OkaLIW7IRKDR2KpQ63YfTu1exlu6PZQ==", "peerDependencies": { "@ambire/signature-validator": "^1.0.3", "@ensdomains/eth-ens-namehash": "^2.0.15", @@ -67687,9 +67687,9 @@ "integrity": "sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA==" }, "adex-protocol-eth": { - "version": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#4ddebac4109e9709c4cc862ee0708f208dac9ee2", - "integrity": "sha512-3HOkg4jrCyvZnKJert45ioB97/g1Eprgw1op/ienGzmsj8aodnzhEXnfQaRCQgwEt9yyDZOY7vkyIfjNA5tRKA==", - "from": "adex-protocol-eth@git+https://git@github.com/AmbireTech/adex-protocol-eth.git#4ddebac4109e9709c4cc862ee0708f208dac9ee2", + "version": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#2606263234a7e01ece1af9826e6084fd800dae8f", + "integrity": "sha512-r06LagK1DR+Vd7ydlXvO+lP0/6s8yMmstTzwBUj3B9Pjvd1tf63DL5XYj3B5e2s+jfxYH7bYEaaN6K3isciY2Q==", + "from": "adex-protocol-eth@git+https://git@github.com/AmbireTech/adex-protocol-eth.git#2606263234a7e01ece1af9826e6084fd800dae8f", "requires": { "@openzeppelin/test-helpers": "^0.5.10", "@truffle/hdwallet-provider": "^1.4.2", @@ -67849,9 +67849,9 @@ "integrity": "sha512-0FcBfdcmaumGPQ0qPn7Q5qTgz/ooXgIyp1rf8ik5bGX8mpE2YHjC0P/eyQvxu1GURYQgq9ozf2mteQ5ZD9YiyQ==" }, "ambire-common": { - "version": "npm:@ambire/common@1.0.14", - "resolved": "https://registry.npmjs.org/@ambire/common/-/common-1.0.14.tgz", - "integrity": "sha512-JdLFl0psRhG/T8bu+rxN1eN2PlC09ASJ0qm/abYhx1YbY6diMZUzIH6c9zk1I8wzbyNCgpNuVwjfTIkwykadZQ==", + "version": "npm:@ambire/common@1.0.15", + "resolved": "https://registry.npmjs.org/@ambire/common/-/common-1.0.15.tgz", + "integrity": "sha512-jFoPTVu3e62vGbB5b/on8FUinP2vHLEPB2PWieqaJVll+mxsQSM4Gf/OkaLIW7IRKDR2KpQ63YfTu1exlu6PZQ==", "requires": {} }, "amdefine": { diff --git a/package.json b/package.json index 402b88c912..34572955ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ambire-wallet", - "version": "0.7.7", + "version": "0.7.8", "private": true, "homepage": "./", "dependencies": { @@ -25,8 +25,8 @@ "@walletconnect/web3wallet": "^1.8.6", "@web3-react/abstract-connector": "^6.0.7", "@web3-react/types": "^6.0.7", - "adex-protocol-eth": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#4ddebac4109e9709c4cc862ee0708f208dac9ee2", - "ambire-common": "npm:@ambire/common@^1.0.14", + "adex-protocol-eth": "git+https://git@github.com/AmbireTech/adex-protocol-eth.git#2606263234a7e01ece1af9826e6084fd800dae8f", + "ambire-common": "npm:@ambire/common@1.0.15", "bip44-constants": "^128.0.0", "blockies-ts": "^1.0.0", "chart.js": "^3.9.1", diff --git a/public/resources/networks/redesign/scroll.svg b/public/resources/networks/redesign/scroll.svg new file mode 100644 index 0000000000..7a728d9a6c --- /dev/null +++ b/public/resources/networks/redesign/scroll.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/src/config/providers/providers.ts b/src/config/providers/providers.ts index 2fedc24d7e..e407b5e7e7 100644 --- a/src/config/providers/providers.ts +++ b/src/config/providers/providers.ts @@ -14,6 +14,7 @@ export const rpcUrls = { gnosis: 'https://invictus.ambire.com/gnosis', optimism: 'https://invictus.ambire.com/optimism', base: 'https://invictus.ambire.com/base', + scroll: 'https://invictus.ambire.com/scroll', // 'mumbai': 'https://invictus.ambire.com/mumbai', sepolia: 'https://invictus.ambire.com/sepolia', moonriver: 'https://rpc.api.moonriver.moonbeam.network', diff --git a/src/consts/networks.js b/src/consts/networks.js index b3372f0059..ec721adf49 100644 --- a/src/consts/networks.js +++ b/src/consts/networks.js @@ -22,6 +22,7 @@ export const networkIconsById = { kucoin: '/resources/networks/redesign/kucoin.svg', optimism: '/resources/networks/redesign/optimism.svg', base: '/resources/networks/redesign/base.svg', + scroll: '/resources/networks/redesign/scroll.svg', andromeda: '/resources/networks/redesign/metis.svg', rinkeby: '/resources/networks/redesign/rinkeby.svg', cronos: '/resources/networks/redesign/cronos.png',