{"_id":"@ansdomain/dnssec-oracle","_rev":"1-663d589b4eb053c50ebcf414430dacc5","name":"@ansdomain/dnssec-oracle","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@ansdomain/dnssec-oracle","version":"0.2.0","requires":true,"lockfileVersion":1,"devDependencies":{"@ansdomain/buffer":"^0.0.8","@ansdomain/solsha1":"^0.0.2","dnsprovejs":"0.0.9","elliptic-solidity":"1.0.0","eth-gas-reporter":"^0.1.12","rfc4648":"^1.1.0","solium":"^1.2.3","truffle":"^5.1.53"},"scripts":{"pretest":"truffle compile","test":"truffle test","watch":"npm-watch","lint":"solium --dir ./contracts","prepublishOnly":""},"dependencies":{"dns-packet":"^5.0.4"},"description":"[![Build Status](https://travis-ci.org/ensdomains/dnssec-oracle.svg?branch=master)](https://travis-ci.org/ensdomains/dnssec-oracle) [![License](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](LICENSE)","_id":"@ansdomain/dnssec-oracle@0.2.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-wvwIWsDs7kHUFckrsw1mP7gnFAaz3li6UfGFiyu20KXpbcSiqf2j30yQeKFLQYQE/rcjMkOp3PIsjMYozMtRjA==","shasum":"5fce74d1bf05a13ad5e87e436103a3682b1989af","tarball":"https://registry.npmjs.org/@ansdomain/dnssec-oracle/-/dnssec-oracle-0.2.0.tgz","fileCount":62,"unpackedSize":9023947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8BcARna1qLjrYdi/H4cpiPp5zZGwf0erj17mN+tK75AIgfFYXF2pn7iqSX+VYByrFSABaFPcilCFvphsarIVrK2g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMk31ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiWQ/+JnkKfMYJ+NRiB6BXaR23BTitLKcBArQiSXug4Uk1kiHb8dbE\r\n/ak0my9+XKuXLKkTmSfqY7rWkgY9rrpeL7Popo39yjO/JqXveEUKgAtp1P7b\r\n/SqkWtnijkLbo8Ry7FjJsFzIOy6DKJ8xW2uMgHYCAd/cRT+5oN28X8tf+rCE\r\njFkKu34YF3jCbuqx9KdnFeSxQrtBUKHGteAojKK4cH+OvAK0BpJmfDGa8PJ2\r\n0udN4KVAYNSnXTjCJCsyL5w+S84+OUpyJafnU20/I3tONohmNsOQJRHcsrV3\r\n/B/6+ScePmQQkMYTPBz4H5YMTiETS881fdW9wLGkHIScwCTd1FC5gW2Se8TJ\r\n+kaxICRAj2a6zC6S0Qrtn6JuGDR20J+zc+Z7j71tbUO2ZGSTrDst5vqa/yHM\r\ndrvvWX4t6jiBXCJpQEcWdoy/yEXRd/RenFVsEpJarjRIKp8GvgymcKbGSTTa\r\nnDWjUVDSVZJ/zFkxlWc0RM2VJ0vFdhiwIoNuKo5onIF0tapn52+0cvKSZf3L\r\nYOeCDeaV/2Vx8Ri6R/vhNpvWsM+5F4dTRbU0lXOOx23/E3vDjhrvQ2LBMOwS\r\ni3LTOqaTH1cwp2W6ykek0woX2PJ7zf7zlVVYOjHPVUrEJOWIdm+DXjn1smew\r\nKZepHXsjety8LC9thGBfRTSXYVG5mJFEfVY=\r\n=7cF8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arbitrumdomains","email":"arbitrumdns@gmail.com"},"directories":{},"maintainers":[{"name":"arbitrumdomains","email":"arbitrumdns@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dnssec-oracle_0.2.0_1664241141391_0.3789013889953743"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-27T01:12:21.324Z","0.2.0":"2022-09-27T01:12:21.759Z","modified":"2022-10-26T13:32:49.871Z"},"maintainers":[{"email":"dev.koold@gmail.com","name":"devilla"},{"email":"arbitrumdns@gmail.com","name":"arbitrumdomains"}],"description":"[![Build Status](https://travis-ci.org/ensdomains/dnssec-oracle.svg?branch=master)](https://travis-ci.org/ensdomains/dnssec-oracle) [![License](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](LICENSE)","readme":"# DNSSEC Oracle\n\n[![Build Status](https://travis-ci.org/ensdomains/dnssec-oracle.svg?branch=master)](https://travis-ci.org/ensdomains/dnssec-oracle)\n[![License](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](LICENSE)\n\nThis is an implementation of a DNSSEC oracle for Ethereum. With it, you\ncan securely prove the contents of any DNSSEC-signed DNS record on the\nEthereum blockchain, as long as it was signed using supported public key\nschemes and digests. Presently, the oracle only supports RSA and\nSHA-256; fortunately, over 3/4 of TLDs use this combination of\nalgorithms.\n\nOnce a record is proven to the oracle, any contract or external caller\ncan fetch it with the `rrsets` constant function, allowing other\ncontracts to read data from DNS.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on\nyour local machine for development and testing purposes.\n\n### Installing\n\nThe DNSSEC Oracle uses npm to manage dependencies, therefore the\ninstallation process is kept simple:\n\n```\nnpm install\n```\n\n### Running tests\n\nThe DNSSEC Oracle uses truffle for its ethereum development environment.\nAll tests can be run using truffle:\n\n```\ntruffle test\n```\n\nTo run linting, use solium:\n\n```\nsolium --dir ./contracts\n```\n\n## Including DNSSEC Oracle in your project\n\n### Installation\n\n```\nnpm install dnssec-oracle --save\n```\n\n### Within Your contracts\n\n```\nimport \"@ensdomains/dnssec-oracle/build/contracts/DNSSEC\"\n```\n\n### Within Javascript code\n\n```\nvar data = require(\"@ensdomains/dnssec-oracle/build/contracts/DNSSEC.json\")\n```\n\nThe JSON file is same as the one generated using `truffle compile`. You\ncan pass the loaded data to `truffle-contract` or use it via web3 by\npassing `data.abi`.\n\n### Usage\n\nA [command line utility](https://github.com/arachnid/dnsprove) is\navailable that automates the task of generating the necessary proofs\nfrom DNS data and submitting them to the oracle.\n\nThe oracle is still in alpha, and does not yet have any official\ndeployments on the main network or test networks.\n\n## Built With\n\n- [Truffle](https://github.com/trufflesuite/truffle) - Ethereum\n  development environment\n\n## Authors\n\n- **Nick Johnson** - [Arachnid](https://github.com/Arachnid)\n\nSee also the list of\n[contributors](https://github.com/ensdomains/dnssec-oracle/contributors)\nwho participated in this project.\n\n## License\n\nThis project is licensed under the BSD 2-clause \"Simplified\" License -\nsee the [LICENSE](LICENSE) file for details\n","readmeFilename":"README.md"}