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

Claiming a DLC Oracle specific SLIP 44 Coin Type for BIP 32 Paths #102

Open
benthecarman opened this issue Sep 29, 2020 · 4 comments
Open

Comments

@benthecarman
Copy link
Contributor

benthecarman commented Sep 29, 2020

Related to #90

Curious on people's thoughts on claiming a DLC Oracle specific SLIP 44 coin type for deterministically generating nonces.

This could help ensure that oracles do not reuse any keys if they are using a seed for multiple purposes.

In my project, krystal bull, I am using 585 because it is unclaimed.

@benthecarman
Copy link
Contributor Author

Seems 585 is not a good choice as they want people using the first available number

@Christewart
Copy link
Contributor

I'm a little hesitant on recommending things like this as -- in my view -- it's promoting using deterministic nonce generation schemes which we know is dangerous if not used in a very narrow specific way.

Related to #90

@benthecarman
Copy link
Contributor Author

Another option could be to use a specific HDPurpose as well.

@benthecarman
Copy link
Contributor Author

I'm a little hesitant on recommending things like this as -- in my view -- it's promoting using deterministic nonce generation schemes which we know is dangerous if not used in a very narrow specific way.

I see your point, but most likely people will want to use a deterministic way. Imo the spec should assume the implementer knows what they are doing and not try to write around them not.

Also, having something like will hopefully be listed right next to the docs saying how to correctly and safely do deterministic nonces, so it could end up stopping someone from making a mistake.

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

No branches or pull requests

2 participants