1.0.13 • Published 9 months ago

@pnsdomains/pnsjs-react v1.0.13

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

@pnsdomains/pnsjs-react

React hooks & utilities to interact with the PulseChain Name Service using PNSjs

Installation

After installing wagmi, simply run

pnpm install @pnsdomains/pnsjs-react

Hooks

  • usePnsAvailable - checks availability (uses getAvailable)
  • usePnsExpiry - returns expiry of a name (uses getExpiry)
  • usePnsResolverInterfaces - check supportsInterface on resolver (uses getSupportedInterfaces)
  • useNamesForAddress - lists names from subgraph (uses getNamesForAddress)
  • useDecodedName - decodes name using subgraph (uses getDecodedName)
  • usePnsRecordsWrite - writes records to a name (uses setRecords) (wip)
  • usePnsCredentials - returns credentials from a name (uses getTextRecord) (lite)
1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago