0.1.35 • Published 8 months ago

thetaboard-tns v0.1.35

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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

8 months ago

0.1.34

2 years ago

0.1.33

2 years ago

0.1.32

2 years ago

0.1.31

2 years ago

0.1.30

2 years ago

0.1.29

2 years ago

0.1.28

2 years ago

0.1.27

2 years ago

0.1.26

2 years ago

0.1.25

2 years ago

0.1.24

2 years ago

0.1.23

2 years ago

0.1.22

2 years ago

0.1.21

2 years ago

0.1.20

2 years ago

0.1.19

2 years ago

0.1.18

2 years ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago