0.0.4 • Published 7 months ago

@lit-protocol/domainwallet-sdk v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

Domain Wallet SDK

SDK for quering domain information from the Domain Registry.

note currently in production, contract addresses will change without notice.

Usage

query by Domain

dwr = new DWR();
await dwr.connect();
let domainInfo = await dwr.getDomainInfo("foobar.domainwallet.id");

query by pkp tokenId

let tokenId = "<your pkp token id>"
const dwr = new DWR();
await dwr.connect();
let url = await dwr.getUrl(tokenId);
let domainInfo = dwr.getDomainInfo(url);
0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago