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

onion integration #24

Closed
wants to merge 16 commits into from
Closed

onion integration #24

wants to merge 16 commits into from

Conversation

ricott1
Copy link

@ricott1 ricott1 commented May 30, 2019

I extended the module to encode and decode .onion (tor) addresses. I'm planning to use this to extend the ens-app repo.

@ricott1
Copy link
Author

ricott1 commented Jun 5, 2019

This pull depends on another pull request for js-multiaddr. [edit] That pull has been merged

@ricott1
Copy link
Author

ricott1 commented Jun 5, 2019

Can I get some feedback on this?

@Arachnid
Copy link

@pldespaigne Can you please take a look at this? We'd like to add support to the ENS manager, but we can't until this is merged.

@pldespaigne
Copy link
Owner

I will look at it ! @ricott1 no offense, but this PR doesn't look clean, do you think a general encoding function will do the job (see #17 ) ?

@ricott1
Copy link
Author

ricott1 commented Jun 20, 2019

Absolutely, I'm by no mean an expert developer, I just needed a way to encode onion addresses for the ens-app, but a general encoding would definitely be the way to go.

@ricott1
Copy link
Author

ricott1 commented Jul 9, 2019

Hi @pldespaigne , are you working on the general encoding by any chance?

@pldespaigne
Copy link
Owner

Hi, I don't have so much time currently, but it will be done before Sunday evening !

@pldespaigne
Copy link
Owner

Hi @ricott1 just merge #28 and publish it to npm as v2.4.1, you should now be able to do contentHash.encode('onion', onionAddress); (onion3 is also supported), I will update the readme later today. Please tell me if it is ok for you so I can close this PR

@ricott1
Copy link
Author

ricott1 commented Jul 16, 2019

Thanks!

@ricott1 ricott1 closed this Jul 16, 2019
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