Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Key generation utility - #176

Merged
gavofyork merged 11 commits into
masterfrom
gav-subkey
May 29, 2018
Merged

gavofyork merged 11 commits into
masterfrom
gav-subkey

Conversation

@gavofyork

@gavofyork gavofyork commented May 29, 2018 •

Copy link
Copy Markdown
Member
  • Adds ss58check format;
  • Add an executable for generating and displaying keys.

Goes in after #175

@gavofyork gavofyork added A0-please_review Pull request needs code review. A1-onice labels May 29, 2018
@gavofyork
gavofyork requested review from arkpar, rphmeier and tomusdrw and removed request for rphmeier and tomusdrw May 29, 2018 12:22
@arkpar

arkpar commented May 29, 2018 •

Copy link
Copy Markdown
Member

Why call it ss58Check and not base58Check or base58Blake2b. What does "ss" stand for? Also bitcoin base58Check hashes twice, though I'm not sure if that's important here.

@gavofyork

gavofyork commented May 29, 2018 •

Copy link
Copy Markdown
Member Author

Can't see why two hashes would be important.

"ss58check address" -> substrate base58 checksum address (and as a name, it's already in use in at least two other projects).

@arkpar arkpar added A8-looksgood and removed A0-please_review Pull request needs code review. labels May 29, 2018
@gavofyork
gavofyork merged commit e4895b5 into master May 29, 2018
@gavofyork
gavofyork deleted the gav-subkey branch May 29, 2018 16:05
lamafab pushed a commit to lamafab/substrate that referenced this pull request Jun 16, 2020
* Update to master

This introduces a new type `CollatorId`, currently just `SessionKey`
but which would forseeably change to its own thing. It seems to work
like this (despite there being a lot of the new-incompatible
`AccountId` replaced). No idea if it does anything sensible, though.

* Cleanups

* Fix tests

* Remove commented code

* Specify commit hash

* Remove commented code

* Correct version

* Update runtime/Cargo.toml

Co-Authored-By: gavofyork <github@gavwood.com>

* PairT instead of _Pair

* Update lock file

* Remove rev causing upset
liuchengxu pushed a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
* bug fix for fee
liuchengxu pushed a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
* let to_base58 accept bytes ref

* let BtcAddress be Vec<u8>

* refactor addrbinding

* integrate staking
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants