Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update registrar to use expiration instead of insertion time #40

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Arachnid
Copy link
Member

@Arachnid Arachnid commented May 5, 2021

No description provided.

@Arachnid Arachnid requested review from makoto and decanus May 5, 2021 02:29
"dns-packet": "^5.0.4",
"eth-ens-namehash": "^2.0.8",
"js-sha3": "^0.5.7",
"web3": "1.0.0-beta.34"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

web3js is in use at

const Web3 = require('web3');
. Probably you can get rid of the dnsregistrar.js file all together

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update README to remove reference to DNSRegistrarJs

@Arachnid
Copy link
Member Author

Arachnid commented May 5, 2021

PTAL

@Arachnid
Copy link
Member Author

Arachnid commented May 6, 2021

@@ -1,23 +1,17 @@
{
"name": "@ensdomains/dnsregistrar",
"main": "dist/dnsregistrar.js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you get rid of dist/dnsregistrar.js and replace it with something like https://github.com/ensdomains/ens/blob/master/index.js ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the main reference. There doesn't seem like there's much point in adding that given our pending change to a monorepo.

@Arachnid
Copy link
Member Author

PTAL:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants