James Wilson
|
23c62f3d5d
|
Update to 2024 edition (#2001)
* Update to 2024 edition
* Update to 2024 edition; fmt, use<> and remove refs
* async functions
|
2025-05-09 16:12:18 +01:00 |
|
Pavlo Khrystenko
|
7d1002192e
|
Migrate custom error trait impls to thiserror (#1856)
* Migrate to thiserror
* missing bits
* review comment
* Apply suggestions from code review
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* From<scale_decode::visitor::Error> to remove Into::intos
* scale crates for core::error::Error
* bump msrv 1.81
* make signer crate compile
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: James Wilson <james.wilson@parity.io>
|
2024-11-18 09:39:14 +00:00 |
|
Jonathan Brown
|
c7ccc58e69
|
Support loading keys from Polkadot-JS accounts. (#1661)
* Import key pair from JSON.
* Get secret.
* Fix JSON decryption.
* Fix error handling.
* Fix warnings.
* Add polkadot-js links.
* Fix packages.
* Fix json feature.
* Add copyright message.
* Update Cargo.toml
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* Improve error handling.
* Expect that provided parameters are valid.
* Add Scrypt parameters comment from JS implementation.
* Fix expect() message
* Make from_ed25519_bytes() pub(crate)
* Rename json feature to polkadot-js-compat
* Add comment about polkadot-js-compat dependencies.
Co-authored-by: James Wilson <james@jsdw.me>
* Add decrypt_json() public method.
* json.rs -> polkadot_js_compat.rs
* Simplify JSON structs.
* Only declare from_ed25519_bytes() with polkadot-js-compat
* Move decrypt_json() to top of file.
* Don't enable new crates on std feature
* Avoid enabling a couple of existing optional crates on std feature
---------
Co-authored-by: Jonathan Brown <jbrown@acuity.network>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: James Wilson <james@jsdw.me>
|
2024-08-23 17:52:46 +01:00 |
|