substrate-docs icon indicating copy to clipboard operation
substrate-docs copied to clipboard

Default account clarifications

Open nuke-web3 opened this issue 3 years ago • 1 comments

New features (not yet ready) to bring up in docs when merged. https://github.com/paritytech/substrate/pull/10403 https://github.com/paritytech/substrate/pull/10413 && https://github.com/paritytech/polkadot/pull/4500 https://github.com/paritytech/cumulus/pull/842

nuke-web3 avatar Dec 12 '21 00:12 nuke-web3

To be placed in the "dropbox" section of the docs.

covers:

  • known private key for 0 address, specifically for sr25519/ed25519 (doesnt apply to ethereum or some of the other ones)
  • warning not to use that address
  • leads to no default implementaiton for address, and how to simply work around it with .unwrap_or([1u8; 32].into())

shawntabrizi avatar Jan 04 '22 16:01 shawntabrizi