0.1.35 • Published 1 year ago
thetaboard-tns v0.1.35
Theta Name Service
Import
To import thetaboard-tns use the following statement:
import { getReverseName, getAddressRecord } from "thetaboard-tns";
Get domain name from an address (reverse name)
To get the reverse name from an address use the getReverseName
function such as:
import { getReverseName } from "thetaboard-tns";
const reverseName = await getReverseName(domainName);
return reverseName.domain;
// will return domain name or null if no reverse name is set on this address
// i.e. "domainname"
Get address record from a domain name
To get the address record from a domain name use the getAddressRecord
function such as:
import { getAddressRecord } from "thetaboard-tns";
const address = await getAddressRecord(domainName);
return address.addressRecord;
// will return the address record set for this domain
// i.e. 0x123...
0.1.35
1 year ago
0.1.34
3 years ago
0.1.33
3 years ago
0.1.32
3 years ago
0.1.31
3 years ago
0.1.30
3 years ago
0.1.29
3 years ago
0.1.28
3 years ago
0.1.27
3 years ago
0.1.26
3 years ago
0.1.25
3 years ago
0.1.24
3 years ago
0.1.23
3 years ago
0.1.22
3 years ago
0.1.21
3 years ago
0.1.20
3 years ago
0.1.19
3 years ago
0.1.18
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.15
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago