├── .circleci └── config.yml ├── .editorconfig ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md ├── auto_assign.yml └── workflows │ ├── check-codebase.yml │ └── codeql.yml ├── .gitignore ├── .prettierrc ├── .storybook ├── main.ts ├── manager.ts └── preview.ts ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── babel.config.js ├── docs ├── Helpers.md ├── Integrations.md ├── Usage.md ├── useExplorerUrl.md ├── useNfd.md ├── useShortAddress.md └── useSubtopiaSubLookup.md ├── jest.config.base.ts ├── jest.config.node.ts ├── jest.config.ts ├── package.json ├── renovate.json ├── src ├── index.ts ├── misc │ ├── constants.ts │ ├── enums.ts │ ├── interfaces.ts │ └── util.ts ├── nfd │ └── useLookup.ts ├── subtopia │ └── useSubscriptionLookup.ts ├── useExplorerUrl.ts └── useShortAddress.ts ├── stories ├── Introduction.mdx ├── UseExplorerUrlDemo.stories.tsx ├── UseExplorerUrlDemo.tsx ├── UseNfdLookupDemo.stories.tsx ├── UseNfdLookupDemo.tsx ├── UseShortAddressDemo.stories.tsx ├── UseShortAddressDemo.tsx ├── UseSubptopiaSubLookupDemo.stories.tsx ├── UseSubptopiaSubLookupDemo.tsx └── assets │ ├── code-brackets.svg │ ├── colors.svg │ ├── comments.svg │ ├── direction.svg │ ├── flow.svg │ ├── plugin.svg │ ├── repo.svg │ └── stackalt.svg ├── tests ├── __snapshots__ │ └── useShortAddress.test.ts.snap ├── setupTests.ts ├── useNFD.test.ts └── useShortAddress.test.ts ├── tsconfig.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/auto_assign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.github/auto_assign.yml -------------------------------------------------------------------------------- /.github/workflows/check-codebase.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.github/workflows/check-codebase.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.prettierrc -------------------------------------------------------------------------------- /.storybook/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.storybook/main.ts -------------------------------------------------------------------------------- /.storybook/manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.storybook/manager.ts -------------------------------------------------------------------------------- /.storybook/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/.storybook/preview.ts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/babel.config.js -------------------------------------------------------------------------------- /docs/Helpers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/Helpers.md -------------------------------------------------------------------------------- /docs/Integrations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/Integrations.md -------------------------------------------------------------------------------- /docs/Usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/Usage.md -------------------------------------------------------------------------------- /docs/useExplorerUrl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/useExplorerUrl.md -------------------------------------------------------------------------------- /docs/useNfd.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/useNfd.md -------------------------------------------------------------------------------- /docs/useShortAddress.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/useShortAddress.md -------------------------------------------------------------------------------- /docs/useSubtopiaSubLookup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/docs/useSubtopiaSubLookup.md -------------------------------------------------------------------------------- /jest.config.base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/jest.config.base.ts -------------------------------------------------------------------------------- /jest.config.node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/jest.config.node.ts -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/renovate.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/misc/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/misc/constants.ts -------------------------------------------------------------------------------- /src/misc/enums.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/misc/enums.ts -------------------------------------------------------------------------------- /src/misc/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/misc/interfaces.ts -------------------------------------------------------------------------------- /src/misc/util.ts: -------------------------------------------------------------------------------- 1 | export const isBrowser = typeof window !== 'undefined'; 2 | -------------------------------------------------------------------------------- /src/nfd/useLookup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/nfd/useLookup.ts -------------------------------------------------------------------------------- /src/subtopia/useSubscriptionLookup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/subtopia/useSubscriptionLookup.ts -------------------------------------------------------------------------------- /src/useExplorerUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/useExplorerUrl.ts -------------------------------------------------------------------------------- /src/useShortAddress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/src/useShortAddress.ts -------------------------------------------------------------------------------- /stories/Introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/Introduction.mdx -------------------------------------------------------------------------------- /stories/UseExplorerUrlDemo.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseExplorerUrlDemo.stories.tsx -------------------------------------------------------------------------------- /stories/UseExplorerUrlDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseExplorerUrlDemo.tsx -------------------------------------------------------------------------------- /stories/UseNfdLookupDemo.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseNfdLookupDemo.stories.tsx -------------------------------------------------------------------------------- /stories/UseNfdLookupDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseNfdLookupDemo.tsx -------------------------------------------------------------------------------- /stories/UseShortAddressDemo.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseShortAddressDemo.stories.tsx -------------------------------------------------------------------------------- /stories/UseShortAddressDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseShortAddressDemo.tsx -------------------------------------------------------------------------------- /stories/UseSubptopiaSubLookupDemo.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseSubptopiaSubLookupDemo.stories.tsx -------------------------------------------------------------------------------- /stories/UseSubptopiaSubLookupDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/UseSubptopiaSubLookupDemo.tsx -------------------------------------------------------------------------------- /stories/assets/code-brackets.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/code-brackets.svg -------------------------------------------------------------------------------- /stories/assets/colors.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/colors.svg -------------------------------------------------------------------------------- /stories/assets/comments.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/comments.svg -------------------------------------------------------------------------------- /stories/assets/direction.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/direction.svg -------------------------------------------------------------------------------- /stories/assets/flow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/flow.svg -------------------------------------------------------------------------------- /stories/assets/plugin.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/plugin.svg -------------------------------------------------------------------------------- /stories/assets/repo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/repo.svg -------------------------------------------------------------------------------- /stories/assets/stackalt.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/stories/assets/stackalt.svg -------------------------------------------------------------------------------- /tests/__snapshots__/useShortAddress.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/tests/__snapshots__/useShortAddress.test.ts.snap -------------------------------------------------------------------------------- /tests/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/tests/setupTests.ts -------------------------------------------------------------------------------- /tests/useNFD.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/tests/useNFD.test.ts -------------------------------------------------------------------------------- /tests/useShortAddress.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/tests/useShortAddress.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesome-algorand/awesomealgo-hooks/HEAD/yarn.lock --------------------------------------------------------------------------------