{"_id":"@ansdomain/offchain-resolver-contracts","_rev":"1-786154c9f24be56cfbbbe0254aaba0dc","name":"@ansdomain/offchain-resolver-contracts","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.1":{"name":"@ansdomain/offchain-resolver-contracts","version":"0.2.1","repository":{"type":"git","url":"git+ssh://git@github.com/ansdomain/offchain-resolver.git"},"author":{"name":"Nick Johnson","email":"arachnid@notdot.net"},"license":"MIT","scripts":{"test":"run() { npx hardhat test; }; run","lint":"npx hardhat check","build":"npx hardhat compile","prepublishOnly":"yarn build","pub":"yarn publish --access public","clean":"rm -fr node_modules artifacts cache"},"devDependencies":{"@chainlink/ethers-ccip-read-provider":"^0.2.3","@nomiclabs/hardhat-ethers":"^2.0.3","@nomiclabs/hardhat-waffle":"^2.0.1","chai":"^4.3.4","ethereum-waffle":"^3.4.0","ethers":"^5.5.2","hardhat":"^2.8.0","hardhat-deploy":"^0.9.24"},"dependencies":{"@ansdomain/ans-contracts":"^0.0.8","@nomiclabs/hardhat-etherscan":"^3.0.0","hardhat-deploy-ethers":"^0.3.0-beta.13"},"description":"This package contains Solidity contracts you can customise and deploy to provide offchain resolution of ENS names.","bugs":{"url":"https://github.com/ansdomain/offchain-resolver/issues"},"homepage":"https://github.com/ansdomain/offchain-resolver#readme","_id":"@ansdomain/offchain-resolver-contracts@0.2.1","_nodeVersion":"16.13.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-LnHxNWclRKkbQrNF1DM3eVtbFx/09LscO3Q8fwMSCcRiuTTF3y+TQNFKYOIQHKdJD1ZwjPQSNY3DSIsMycRv6Q==","shasum":"dd0345c4f08f31ccaccd773c1696dd7d344dac75","tarball":"https://registry.npmjs.org/@ansdomain/offchain-resolver-contracts/-/offchain-resolver-contracts-0.2.1.tgz","fileCount":14,"unpackedSize":43222,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlUgFlbanZXsrT/xfUFH2zYP141sF2Qo2keB33ODeDMAiEA2/esPffrluCClGBppw+GE4KVTAZKalswKaXTiCgWbfk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMlCLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHABAAjWg+4heULgPuBqVdKvOcu9iLoUJl5+JAYSxM8EThJAJmiQLO\r\nNzSly+qQp5H0MF+nEr5bhcSEN/4sG0cJQEIJEiqmWr8G41FZoFPKRe7eoyxY\r\n2pBRHBIPwal3u8ECGPhJISR7GjLy7pkr39IkLF+CFNcpb50G8bQAOnvfeobH\r\npQXsK6kTe0PgMcrZgqRXZRKJxAEmbibSeKdk9p+++mDVzPoHwqmG213+uti1\r\nlVCenSsswA6K+NP4CFfgW90Kz9eXFHJDua0wCTUPaZk6fudfLYD+MxG2gvym\r\nEP34BqyIMel2BPOESCvpPr+yQp9ERDFnTV2PCPLCQTh++uA47EIlXyoYG5fB\r\nKwyX8pZuOo+yj5YcxfGPwNMYyuevSBY/Ux76LyoWWpHzn369qkFvdqygxNqb\r\njYbLGRMKD7pFZtA6n43WYGcypy65kZxYe5oyQWCARMiC4pwpUO+QsFvaTwlN\r\nCmbXerpGm3CkrlfkS8GjbHCEKykM5co/WYJ4uEXfr4tH3vctvU0uG7S6Er1h\r\nigqsXScue5viwkPkzI/iGDz2S2Y0cy5SIOWP5sqzWzhweLMxHkreJw67lKLh\r\nAGaG7NGIxn7oD6GJemrp80pZ+WL5dpit4XMPbaylD18mc4W28bzdT+fJjW2z\r\nMjLOSG3OVU7FxLQo318JAvJzHssKCDNikeU=\r\n=495t\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/offchain-resolver-contracts_0.2.1_1664241803748_0.5357141985619878"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-27T01:23:23.682Z","0.2.1":"2022-09-27T01:23:23.900Z","modified":"2022-10-26T13:33:01.604Z"},"maintainers":[{"email":"dev.koold@gmail.com","name":"devilla"},{"email":"arbitrumdns@gmail.com","name":"arbitrumdomains"}],"description":"This package contains Solidity contracts you can customise and deploy to provide offchain resolution of ENS names.","homepage":"https://github.com/ansdomain/offchain-resolver#readme","repository":{"type":"git","url":"git+ssh://git@github.com/ansdomain/offchain-resolver.git"},"author":{"name":"Nick Johnson","email":"arachnid@notdot.net"},"bugs":{"url":"https://github.com/ansdomain/offchain-resolver/issues"},"license":"MIT","readme":"# ENS Offchain Resolver Contracts\n\nThis package contains Solidity contracts you can customise and deploy to provide offchain resolution of ENS names.\n\nThese contracts implement [ENSIP 10](https://docs.ens.domains/ens-improvement-proposals/ensip-10-wildcard-resolution) (wildcard resolution support) and [EIP 3668](https://eips.ethereum.org/EIPS/eip-3668) (CCIP Read). Together this means that the resolver contract can be very straightforward; it simply needs to respond to all resolution requests with a redirect to your gateway, and verify gateway responses by checking the signature on the returned message.\n\nThese contracts can also be used as a starting point for other verification methods, such as allowing the owner of the name to sign the records themselves, or relying on another verification mechanism such as a merkle tree or an L2 such as Optimism. To do so, start by replacing the calls to `SignatureVerifier` in `OffchainResolver` with your own solution.\n\n## Contracts\n\n### [IExtendedResolver.sol](contracts/IExtendedResolver.sol)\nThis is the interface for wildcard resolution specified in ENSIP 10. In time this will likely be moved to the [@ensdomains/ens-contracts](https://github.com/ensdomains/ens-contracts) repository.\n\n### [SignatureVerifier.sol](contracts/SignatureVerifier.sol)\nThis library facilitates checking signatures over CCIP read responses.\n\n### [OffchainResolver.sol](contracts/OffchainResolver.sol)\nThis contract implements the offchain resolution system. Set this contract as the resolver for a name, and that name and all its subdomains that are not present in the ENS registry will be resolved via the provided gateway by supported clients.\n","readmeFilename":"README.md"}