From f68fbe332c2620a43d38c6c19be64343a194e38a Mon Sep 17 00:00:00 2001 From: Jobin Babu Ayathil Date: Tue, 19 Sep 2023 18:11:19 +0530 Subject: [PATCH 1/2] Add Obscuro Network Icon --- .../api/staticOG/Metamask Network Icon.png | Bin 0 -> 954 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/walletextension/api/staticOG/Metamask Network Icon.png diff --git a/tools/walletextension/api/staticOG/Metamask Network Icon.png b/tools/walletextension/api/staticOG/Metamask Network Icon.png new file mode 100644 index 0000000000000000000000000000000000000000..1e966077f8372df8bfc4be5f104a2e21c94369d2 GIT binary patch literal 954 zcmeAS@N?(olHy`uVBq!ia0vp^DIm``W z$lZxy-8q?;Kn_c~qpu?a!^VE@KZ&di49xzXE{-7;jBn?>&Q&rLahrSfpTCy}yC?fX z<`)bv8iZajtN=qR1}zYr@wBgLOO)@ub)Y6w1Jx;8=n4xm|sgb2zzh~sJ$Awk$Rk8bpHz$M(eoxtcTXk(1cVzsU z3EmuDX`3U1)UPG$CGv;nFPU(9#{|2hiW_Pc1WB-FZofVCSf^1$-2nly{Q_!>bDD2W zuJcW8J+$PAZbNJD9^TA)a~ZzNY+E)ytN*_F{_U?PQ-WUX6VprH?pmU#ru=@!#rNOy zy*}K%|4*MktZ&ix|AkID+a@nxxXNyCa-ZfNM4Tp0HF zilOdVo-PJ{8w8&r&Q<*XT z+-DJ1WtFhQHl_TEMRxOLJC}=p`t|FT2g_ZrTW`zq zz9%Xz^t4xA=bRe0`su!X`!4-uYCrr?Z}w5)rH@X2pTul^KPWNYVEv{qA)hZ=q%A$E z`QE$m&5O9s-^JQ~K9znAp)XZurHU>&(f7k>_jA=H3a;A@PrGTQt;njmNpsH|wxW_V zYHGZ%Hl$=vSd*FG`gzhBugjC?KH9t0V2fPHw>5jWO$s~Er+vdQth#h9?}Kkyw|>^d mz08=`a^QjvH%W>32Q#}4)7ulVx0Qfdjlt8^&t;ucLK6V&?3}Cs literal 0 HcmV?d00001 From e363132bfaf629a40d72174c410e1afb0fffaeb4 Mon Sep 17 00:00:00 2001 From: Jobin Babu Ayathil Date: Tue, 19 Sep 2023 18:14:52 +0530 Subject: [PATCH 2/2] Add Obscuro Network Icon Parameter to Add Chain RPC Method --- tools/walletextension/api/staticOG/javascript.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/walletextension/api/staticOG/javascript.js b/tools/walletextension/api/staticOG/javascript.js index c261d1b3d3..9ffd322234 100644 --- a/tools/walletextension/api/staticOG/javascript.js +++ b/tools/walletextension/api/staticOG/javascript.js @@ -39,6 +39,7 @@ async function addNetworkToMetaMask(ethereum, userID, chainIDDecimal) { { chainId: chainIdHex, chainName: 'Obscuro Testnet', + iconUrls: [https://raw.githubusercontent.com/obscuronet/go-obscuro/main/tools/walletextension/api/staticOG/Metamask%20Network%20Icon.png], nativeCurrency: { name: 'Obscuro', symbol: 'OBX', @@ -228,4 +229,4 @@ const initialize = () => { } -window.addEventListener(eventDomLoaded, initialize); \ No newline at end of file +window.addEventListener(eventDomLoaded, initialize);