1.0.0 • Published 9 months ago

@iguverse/spaceid-sdk v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago
Get SpaceId domain names for multiple addresses in two smart contract queries. Currently only bsc mainet is supported.

Installation

npm install @iguverse/spaceid-sdk  # or yarn

Usage:

import { NamesHelper } from '@iguverse/spaceid-sdk';

....

const spaceSdk = new NamesHelper(provider);
const names = await spaceSdk.getNames([
      '0x78EA0Fa1854019E2490a7D31118e6Ba7cAd840D8',
      '0xc647d0EbEdDc9Eb8FFa01E992511cC5cBeF270D6',
]);

// names: 
// [
// { name: "3990.bnb", address: '0x78EA0Fa1854019E2490a7D31118e6Ba7cAd840D8' },
// { name: null, address: '0xc647d0EbEdDc9Eb8FFa01E992511cC5cBeF270D6' },
// ]
1.0.0

9 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago