MCPcopy Create free account
hub / github.com/dfinity/orbit / isCaseInsensitiveBlockchainAddress

Function isCaseInsensitiveBlockchainAddress

apps/wallet/src/utils/app.utils.ts:99–104  ·  view source on GitHub ↗
(
  blockchain: string,
  standard: string,
)

Source from the content-addressed store, hash-verified

97};
98
99export const isCaseInsensitiveBlockchainAddress = (
100 blockchain: string,
101 standard: string,
102): boolean => {
103 return blockchain === BlockchainType.InternetComputer && standard === BlockchainStandard.Native;
104};
105
106export const maybeTransformBlockchainAddress = (
107 blockchain: string,

Callers 2

app.utils.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected