Skip to content

Commit

Permalink
Added support for ECDSA keypairs (#154)
Browse files Browse the repository at this point in the history
* Added support for ECDSA keypairs #141

Generate ECDSA Keypairs and sign extrinsics on for example Moonriver

* Fixed incorrect scalecodec version

* Added missing pycryptodome dependency

* Fixed incorrect signature format

* Raise ValueError when empty string in ss58_decode #151

* Updated unit test
  • Loading branch information
arjanz authored Nov 8, 2021
1 parent 2f7334f commit 7e8193e
Show file tree
Hide file tree
Showing 8 changed files with 322 additions and 142 deletions.
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ idna>=2.1.0,<4
requests>=2.21.0,<3
xxhash>=1.3.0,<3
pytest>=4.4.0
ecdsa~=0.17.0
eth-keys~=0.3.3
eth_utils~=1.10.0
pycryptodome>=3.11.0,<4

scalecodec>=1.0.16,<2
scalecodec>=1.0.17,<2
py-sr25519-bindings~=0.1.2
py-ed25519-bindings~=0.1.2
py-bip39-bindings~=0.1.6
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@
'idna>=2.1.0,<4',
'requests>=2.21.0,<3',
'xxhash>=1.3.0,<3',
'scalecodec>=1.0.16,<2',
'ecdsa>=0.17.0,<1',
'eth-keys>=0.3.3,<1',
'eth_utils>=1.10.0,<2',
'pycryptodome>=3.11.0,<4',
'scalecodec>=1.0.17,<2',
'py-sr25519-bindings~=0.1.2',
'py-ed25519-bindings~=0.1.2',
'py-bip39-bindings~=0.1.6'
Expand Down
Loading

0 comments on commit 7e8193e

Please sign in to comment.