@ensdomains/dnssecoraclejs
TypeScript icon, indicating that this package has built-in type declarations

0.2.8 • Public • Published

dnssecoraclejs

A TypeScript/JavaScript library for generating proof data for the ENS DNSSEC Oracle.

Installing

npm install '@ensdomains/dnssecoraclejs' --save

Usage

import { Oracle } from '@ensdomains/dnssecoraclejs'
const oracle = new Oracle(oracleAddress, provider)
// Refer to https://github.com/ensdomains/dnsprovejs for how to query result data
const { rrsets, proof } = oracle.getProofData(result)

Testing

  npm run test

Readme

Keywords

none

Package Sidebar

Install

npm i @ensdomains/dnssecoraclejs

Weekly Downloads

829

Version

0.2.8

License

ISC

Unpacked Size

131 kB

Total Files

36

Last publish

Collaborators

  • dropthebeatbro
  • davidchu
  • taytems
  • makoto_inoue
  • decanus
  • nickjohnson
  • jefflau
  • mdt.
  • leeondamiky