Secondary verification of ENS names via cryptographic signatures!

Second-Factor Verification

Instead of relying solely on your connection, router of public wifi for your name resolution, ENSVerify will give you an uncorruptable second opinion.

Elliptic Curve Signatures

Our API signs payloads at a pre-specified address, so even if your connection is compromised, they cannot compromise our signature.

Timestamped

We timestamp our signatures so you know they are recent.

API



Our Signing Address
0xa75D20DdA7883CBF720b131938B6DcE4d733F877

Our Endpoint
https://verify.ensverify.com/



API via Our JS Library

            
const verify = require('ensverify');

// verify a specfici name and address to be correct
verify('registrar.firefly.eth', '0x6fC21092DA55B392b045eD78F4732bff3C580e2c')
.then(result => console.log(result)) // true
.catch(console.log);

// Returns Promise Object
// true if verified correct
// throws otherwise
            
          

API via CURL

curl -L -XPOST "https://verify.ensverify.com" -d '{"name":"registrar.firefly.eth"}'
            
          

API via axios and ethers

const axios = require('axios');
const ethers = require('ethers');

// name and address in question (unverified by resolver)
const name = 'registrar.firefly.eth';
const address = '0x6fC21092DA55B392b045eD78F4732bff3C580e2c';

// provider address
const provider = '0xa75D20DdA7883CBF720b131938B6DcE4d733F877';

// json params for axios
const payload = axios.post('https://verify.ensverify.com/', JSON.stringify({ name }))
.then(result => {
  // build payload (minimized for data)
  const payload = {
    name, // name to verify
    address, // address to verify
    timestamp: result.data.t, // call timestamp
  };

  // signed digest
  const hashDigest = ethers.utils.keccak256(ethers.utils.toUtf8Bytes(JSON.stringify(payload)));

  // verified
  if (provider == ethers.utils.recoverAddress(hashDigest, result.data.s)) {
    console.log('Name has been verified by ENSVerify.com!');
  } else {
    console.log('The name has not been verified.');
  }
})
.catch(console.log);
            
          

Who Made This

Nick Dodson

Independant engineering Ethereum guru and lover of all things crypto.

Github . @IAmNickDodson

Ready to get started? Integrate ENSVerify now!