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

support segwit constants #25

Open
fanatid opened this issue Mar 27, 2016 · 1 comment
Open

support segwit constants #25

fanatid opened this issue Mar 27, 2016 · 1 comment

Comments

@fanatid
Copy link
Member

fanatid commented Mar 27, 2016

new structure versions (base58 prefixes)
for bitcoin mainnet:

{
  address: {
    p2pkh: 0x00,
    p2sh: 0x05,
    p2wpkh: 0x06,
    p2wsh: 0x0a
  },
  privateKey: {
    compressed: 0x80,
    uncompressed: 0x80
  },
  bip32: {
    private: 0x0488ade4,
    public: 0x0488b21e
  },
  bip44: 0x00
}
@jprichardson
Copy link
Member

I'm open to this, but I think it makes sense to get in segwit support first and then revisit structure.

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