From cea7f907ea7bc48b0fb16a913802db4fa5bdedc2 Mon Sep 17 00:00:00 2001 From: Kieran O'Neill Date: Mon, 30 Sep 2024 13:14:40 +0100 Subject: [PATCH 1/2] feat: add mainnet nft explorers and indexers --- src/extension/config/networks.ts | 15 +++++++++++++-- .../NFTNavigatorNFTExplorer.ts | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/extension/config/networks.ts b/src/extension/config/networks.ts index b846ee51..a35088e9 100644 --- a/src/extension/config/networks.ts +++ b/src/extension/config/networks.ts @@ -36,7 +36,14 @@ const networks: INetwork[] = [ url: 'https://mainnet-api.voi.nodely.dev', }, ], - arc0072Indexers: [], + arc0072Indexers: [ + new NautilusARC0072Indexer({ + baseURL: 'https://mainnet-idx.nautilus.sh', + }), + new NFTNavigatorARC0072Indexer({ + baseURL: 'https://arc72-voi-mainnet.nftnavigator.xyz', + }), + ], canonicalName: 'Voi', chakraTheme: 'voi', blockExplorers: [ @@ -73,7 +80,11 @@ const networks: INetwork[] = [ type: AssetTypeEnum.Native, verified: true, }, - nftExplorers: [], + nftExplorers: [ + new NFTNavigatorNFTExplorer({ + baseURL: 'https://nftnavigator.xyz', + }), + ], type: NetworkTypeEnum.Stable, }, { diff --git a/src/extension/models/NFTNavigatorNFTExplorer/NFTNavigatorNFTExplorer.ts b/src/extension/models/NFTNavigatorNFTExplorer/NFTNavigatorNFTExplorer.ts index 726b6140..4c1c4afc 100644 --- a/src/extension/models/NFTNavigatorNFTExplorer/NFTNavigatorNFTExplorer.ts +++ b/src/extension/models/NFTNavigatorNFTExplorer/NFTNavigatorNFTExplorer.ts @@ -17,7 +17,7 @@ export default class NFTNavigatorNFTExplorer extends BaseNFTExplorer { super({ baseURL, canonicalName: canonicalName || 'NFT Navigator', - id: id || 'nft-navigator-arc-0072-indexer', + id: id || 'nft-navigator-nft-explorer', }); } From dd39e968de8ad068fcb6ecc0d51770a63768fdcb Mon Sep 17 00:00:00 2001 From: Kieran O'Neill Date: Mon, 30 Sep 2024 13:14:48 +0100 Subject: [PATCH 2/2] feat: update what's new modal --- src/extension/modals/WhatsNewModal/WhatsNewModal.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/extension/modals/WhatsNewModal/WhatsNewModal.tsx b/src/extension/modals/WhatsNewModal/WhatsNewModal.tsx index 2a6d0a88..1cb4b102 100644 --- a/src/extension/modals/WhatsNewModal/WhatsNewModal.tsx +++ b/src/extension/modals/WhatsNewModal/WhatsNewModal.tsx @@ -64,13 +64,8 @@ const WhatsNewModal: FC = ({ onClose }) => { const primaryColorScheme = usePrimaryColorScheme(); const subTextColor = useSubTextColor(); // misc - const features = [ - '↕️ Re-order accounts in the sidebar.', - '⭐ Set a primary account.', - ]; - const fixes = [ - 'Add "unlimitedStorage" permission to avoid the storage quota being exceeded.', - ]; + const features = ['🖼️ Add Voi mainnet indexers and explorer.']; + const fixes: string[] = []; // handlers const handleClose = () => { // mark as read