0.0.4 • Published 2 years ago

@lit-protocol/domainwallet-sdk v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago