
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@ensdomains/dnssec-oracle
Advanced tools
[](https://travis-ci.org/ensdomains/dnssec-oracle) [](LICENSE)
This is an implementation of a DNSSEC oracle for Ethereum. With it, you can securely prove the contents of any DNSSEC-signed DNS record on the Ethereum blockchain, as long as it was signed using supported public key schemes and digests. Presently, the oracle only supports RSA and SHA-256; fortunately, over 3/4 of TLDs use this combination of algorithms.
Once a record is proven to the oracle, any contract or external caller
can fetch it with the rrsets
constant function, allowing other
contracts to read data from DNS.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The DNSSEC Oracle uses npm to manage dependencies, therefore the installation process is kept simple:
npm install
The DNSSEC Oracle uses truffle for its ethereum development environment. All tests can be run using truffle:
truffle test
To run linting, use solium:
solium --dir ./contracts
npm install dnssec-oracle --save
import "@ensdomains/dnssec-oracle/build/contracts/DNSSEC"
var data = require("@ensdomains/dnssec-oracle/build/contracts/DNSSEC.json")
The JSON file is same as the one generated using truffle compile
. You
can pass the loaded data to truffle-contract
or use it via web3 by
passing data.abi
.
A command line utility is available that automates the task of generating the necessary proofs from DNS data and submitting them to the oracle.
The oracle is still in alpha, and does not yet have any official deployments on the main network or test networks.
See also the list of contributors who participated in this project.
This project is licensed under the BSD 2-clause "Simplified" License - see the LICENSE file for details
FAQs
[](https://travis-ci.org/ensdomains/dnssec-oracle) [](LICENSE)
The npm package @ensdomains/dnssec-oracle receives a total of 809 weekly downloads. As such, @ensdomains/dnssec-oracle popularity was classified as not popular.
We found that @ensdomains/dnssec-oracle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.