Skip to content

adding asset explorer link to resources #119

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

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ VITE_ONBOARDING_URL=https://testnet-onboarding.polymesh.live/
VITE_ASSIGN_KEY_URL=https://community.polymesh.live/hc/en-us/articles/9403994109852
VITE_TOKENSTUDIO_URL=https://testnet-tokenstudio.polymath.network/
VITE_CDD_SERVICE_URL=https://onboarding.polymesh.live/api/
VITE_ASSET_EXPLORER_URL=https://polymesh.protofire.io/
VITE_GENESIS_HASH=0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6
VITE_WALLET_CONNECT_PROJECT_ID=4272f12e7c117cfc1aa5a92f6914d83a
VITE_IPFS_PROVIDER_URL=https://ipfs.io/ipfs
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ENV VITE_POLKASSEMBLY_URL=VITE_POLKASSEMBLY_URL_NOT_SET
ENV VITE_ONBOARDING_URL=VITE_ONBOARDING_URL_NOT_SET
ENV VITE_ASSIGN_KEY_URL=VITE_ASSIGN_KEY_URL_NOT_SET
ENV VITE_TOKENSTUDIO_URL=VITE_TOKENSTUDIO_URL_NOT_SET
ENV VITE_ASSET_EXPLORER_URL=VITE_ASSET_EXPLORER_URL_NOT_SET
ENV VITE_MATOMO_CONTAINER=VITE_MATOMO_CONTAINER_NOT_SET

################################################################
Expand Down
5 changes: 5 additions & 0 deletions src/assets/icons/explorer-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ export { ReactComponent as WalletConnectSymbolNoColor } from './walletconnect-bl
export { ReactComponent as Search } from './search.svg';
export { ReactComponent as EyeIcon } from './eye-outline.svg';
export { ReactComponent as AlertIcon } from './alert-icon.svg';
export { ReactComponent as ExplorerIcon } from './explorer-icon.svg';
5 changes: 5 additions & 0 deletions src/constants/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ export const NAV_LINKS = [
nestedLabel: 'Token Studio',
nestedIcon: 'PolymathLogo',
},
{
nestedPath: import.meta.env.VITE_ASSET_EXPLORER_URL,
nestedLabel: 'Asset Explorer',
nestedIcon: 'ExplorerIcon',
},
],
},
{ path: PATHS.SETTINGS, label: 'Settings', icon: 'SettingsIcon' },
Expand Down