@avalabs/avalanche-contacts
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Core Contacts

This API is experimental and is not publicly accessible.

Through our extension we have exposed contacts. These contacts are accesible through the provider and are stored securly in the extension. These contacts can be used to show a name instead of an address in places where this applies.

How to use

There is a hook inside of this lib. You can access and use it like so:

import { useContacts } from '@avalabs/avalanche-contacts';

export function YourFancyComponent() {
  const provider = useYourProvider();
  const { contacts, getContacts } = useContacts(provider);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @avalabs/avalanche-contacts

Weekly Downloads

2

Version

1.1.1

License

BSD-3-Clause

Unpacked Size

9.11 kB

Total Files

16

Last publish

Collaborators

  • meeh0w_ava
  • glovas