Matteo Muraca
bb1a012560
Expose secret_key method for ecdsa::Keypair and eth::Keypair ( #1628 )
...
* Expose `secret_key` method for `ecdsa::Keypair` and `eth::Keypair`
* cargo fmt
* fix eth::secret_key
---------
Co-authored-by: James Wilson <james@jsdw.me >
2024-07-08 14:30:00 +01:00
Pavlo Khrystenko
5a5c5fc382
Add 20-byte account id to subxt_core ( #1638 )
...
* Add accountId20 impl to subxt_core
closes #1576
2024-06-19 13:31:04 +02:00
Pavlo Khrystenko
971c15cf3b
Disable clippy::unwrap_or_default lint for the project ( #1647 )
...
* disable clippy lint trigerred by a macro
* typo in lint name
* Update macro/src/lib.rs
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* move missing docs
* add workspace.lints = true for remaining crates
* lint fixes
* Update signer/src/eth.rs
Co-authored-by: James Wilson <james@jsdw.me >
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: James Wilson <james@jsdw.me >
2024-06-18 18:45:40 +02:00
Pavlo Khrystenko
5a0682c1e0
Remove derive_more ( #1600 )
...
* replace derive_more's 'From' in signer
* replace derive_more's 'From' in core
* Remove `derive_more`'s `Display` usages (#1601 )
* Remove derive_more's 'Display' from core
* Remove derive_more's 'Display' from metadata
* Remove derive_more's 'Display' from signer
* Remove derive_more from dependencies (#1602 )
closes #1503
* Update signer/src/eth.rs
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* rename convert_error to impl_from
* rename convert_error to impl_from in core
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-05-24 11:18:51 +02:00
Matteo Muraca
ae5c0927c6
Implemented sign_prehashed for ecdsa::Keypair and eth::Keypair ( #1598 )
...
* Implemented `sign_prehashed` for `eth::Keypair`
* missing import
* fmt
* Implemented `sign_prehashed` for `ecdsa::Keypair`
* use `[u8; 32]` type
* ditched From impl
2024-05-24 09:48:55 +01:00
Niklas Adolfsson
25193d75af
add frontier/ethereum example ( #1557 )
...
* add ethereum example
The ethereum config doesn't work with the default PolkadotConfig which
this shows how to do.
Tested with a frontier node
* address grumbles
* Update subxt/examples/tx_basic_frontier.rs
* Update subxt/examples/tx_basic_frontier.rs
2024-04-26 16:18:19 +02:00
Matteo Muraca
03fd95efcf
Fixed import in subxt-signer::eth ( #1553 )
2024-04-24 12:08:01 +02:00
Ryan Lee
b527c857ea
feat(signer): ethereum implementation ( #1501 )
...
---------
Co-authored-by: James Wilson <james@jsdw.me >
2024-04-15 08:56:10 -04:00