Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dnsprove.js

A TypeScript/JavaScript library for querying and validating DNSSEC data from DNS.

Installing

npm install '@ensdomains/dnsprovejs' --save

Usage

import { DNSProver } from '@ensdomains/dnsprovejs'
const prover = DNSProver.create("https://cloudflare-dns.com/dns-query")
const result = await prover.queryWithProof('TXT', textDomain)

API

Please refer to the doc

Testing

  npm run test

About

A tool to convince an Ethereum DNSSEC oracle of the contents of DNS records

Resources

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •