@bonfida/sns-vue
v1.2.3
Published
A set of Vue hooks to interact with the Solana Name Service
Downloads
22
Maintainers
Readme
This library provides a set of reusable Vue composables to help make your components more efficient and easier to read.
npm install @bonfida/sns-vue
or
yarn add @bonfida/sns-vue
Below is a brief description of the composables available in this library. Detailed usage and API guides are available in each composable's respective documentation.
useDomainOwner
- allows to resolve the owner of a domain name.useDomainsForOwner
- allows to retrieve all the domains owned by a walletuseDomainSize
- allows to retrive the size of a domain name accountusePrimaryDomain
- allows to retrieve the favorite domain of a wallet if it exists (previously known asuseFavoriteDomain
)useProfilePic
- allows to retrieve the profile picture of a domain name if it existsuseRecords
- allows to retrieve the content of multiple recordsuseReverseLookup
- allows to retrieve the reverse of domain name from this public keyuseSubdomains
- allows to retrieve the subdomains of .sol domain nameuseSearch
- enables searching for domains and subdomains. You can use it to look up specific domains and subdomains and see if they have been registereduseDomainSuggestions
- allows to load suggestions for the provided domain. It assists in finding related domains that are not registereduseTopDomainsSales
- displays the top domain sales for the specified period. It provides insight into the most popular domains and their pricing trends
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
SNS Vue is an open-source project licensed under MIT. Feel free to explore, expand, and improve!