Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update the nft indexer for voi mainnet #332

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading