Add SECP256k1/ECDSA support for transaction signing (#3861)
* Add SECP256k1/ECDSA support for transaction signing. * Refactoring and fixes * Fix for contracts * Avoid breaking runtime host function * Build fixes, make subkey work more generaically. * Fix tests * Dedpulicate a bit of code, remove unneeded code, docs * Bump runtime version * Fix a test and clean up some code. * Derivation can derive seed. * Whitespace * Bump runtime again. * Update core/primitives/src/crypto.rs Co-Authored-By:Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update core/primitives/src/ecdsa.rs Co-Authored-By:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Fix AppVerify
Showing
- substrate/Cargo.lock 2 additions, 0 deletionssubstrate/Cargo.lock
- substrate/core/application-crypto/src/lib.rs 2 additions, 11 deletionssubstrate/core/application-crypto/src/lib.rs
- substrate/core/application-crypto/src/traits.rs 1 addition, 0 deletionssubstrate/core/application-crypto/src/traits.rs
- substrate/core/executor/src/host_interface.rs 56 additions, 26 deletionssubstrate/core/executor/src/host_interface.rs
- substrate/core/keyring/src/ed25519.rs 15 additions, 0 deletionssubstrate/core/keyring/src/ed25519.rs
- substrate/core/keyring/src/sr25519.rs 15 additions, 0 deletionssubstrate/core/keyring/src/sr25519.rs
- substrate/core/primitives/Cargo.toml 4 additions, 0 deletionssubstrate/core/primitives/Cargo.toml
- substrate/core/primitives/src/crypto.rs 191 additions, 95 deletionssubstrate/core/primitives/src/crypto.rs
- substrate/core/primitives/src/ecdsa.rs 608 additions, 0 deletionssubstrate/core/primitives/src/ecdsa.rs
- substrate/core/primitives/src/ed25519.rs 6 additions, 14 deletionssubstrate/core/primitives/src/ed25519.rs
- substrate/core/primitives/src/hexdisplay.rs 1 addition, 1 deletionsubstrate/core/primitives/src/hexdisplay.rs
- substrate/core/primitives/src/lib.rs 1 addition, 0 deletionssubstrate/core/primitives/src/lib.rs
- substrate/core/primitives/src/sr25519.rs 28 additions, 25 deletionssubstrate/core/primitives/src/sr25519.rs
- substrate/core/sr-io/src/lib.rs 7 additions, 2 deletionssubstrate/core/sr-io/src/lib.rs
- substrate/core/sr-io/with_std.rs 10 additions, 0 deletionssubstrate/core/sr-io/with_std.rs
- substrate/core/sr-io/without_std.rs 24 additions, 0 deletionssubstrate/core/sr-io/without_std.rs
- substrate/core/sr-primitives/src/generic/unchecked_extrinsic.rs 16 additions, 6 deletions...ate/core/sr-primitives/src/generic/unchecked_extrinsic.rs
- substrate/core/sr-primitives/src/lib.rs 49 additions, 11 deletionssubstrate/core/sr-primitives/src/lib.rs
- substrate/core/sr-primitives/src/traits.rs 63 additions, 10 deletionssubstrate/core/sr-primitives/src/traits.rs
- substrate/node/cli/src/chain_spec.rs 38 additions, 29 deletionssubstrate/node/cli/src/chain_spec.rs
Please register or sign in to comment