Skip to content

Commit

Permalink
feat: update the nft indexer for voi mainnet (#332)
Browse files Browse the repository at this point in the history
* feat: add mainnet nft explorers and indexers

* feat: update what's new modal
  • Loading branch information
kieranroneill authored Sep 30, 2024
1 parent b628dc2 commit e42b7ca
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
15 changes: 13 additions & 2 deletions src/extension/config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -73,7 +80,11 @@ const networks: INetwork[] = [
type: AssetTypeEnum.Native,
verified: true,
},
nftExplorers: [],
nftExplorers: [
new NFTNavigatorNFTExplorer({
baseURL: 'https://nftnavigator.xyz',
}),
],
type: NetworkTypeEnum.Stable,
},
{
Expand Down
9 changes: 2 additions & 7 deletions src/extension/modals/WhatsNewModal/WhatsNewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,8 @@ const WhatsNewModal: FC<IModalProps> = ({ 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
}

Expand Down

0 comments on commit e42b7ca

Please sign in to comment.