36df1300ce
* Fix eth_keys to follow nimble rules. Fix eth_keys to follow NEP-1 rules. Fix eth_keys to work properly with libsecp256k1 (do not raise uncatchable exceptions). Added more tests from py_evm, go-ethereum, cpp-ethereum. Added address utility functions. Changed public api, to be compatible with more modules. * Fix newline. * Added proper appveyor.yml. * Fix appveyor.yml. * Removed safeXXX functions. * Removed Nonce object declaration. Removed EthKeysContext possibility of inheritation. Added shutdownLibsecp256k1() and shutdown() procedures. Some documentation comments got modified. * Removed RawPublicKey and RawSignature bytes. getRaw(PublicKey) and getRaw(Signature) are now returning arrays. Added toRaw(PublicKey, data) and toRaw(Signature, data). * Added `$` hexadecimal string representation functions. Added initSignature functions. Added some previous tests. * Removed 0x prefixes from `$` functions. |
||
---|---|---|
eth_keys | ||
src | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE-APACHEv2 | ||
LICENSE-MIT | ||
README.md | ||
appveyor.yml | ||
eth_keys.nim | ||
eth_keys.nimble |
README.md
Nim ETH-keys
A reimplementation in pure Nim of eth-keys, the common API for Ethereum key operations.
By default, Nim eth-keys uses Bitcoin's libsecp256k1 as a backend. Make sure libsecp256k1 is available on your system.
An experimental pure Nim backend (Warning ⚠: do not use in production) is available with the compilation switch -d:backend_native
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.