Skip to content

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

Notifications You must be signed in to change notification settings

cyberstormdotmu/dnsprovejs

 
 

Repository files navigation

dnsprove.js

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

Installing

bun add @ensdomains/dnsprovejs

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

bun test

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%