Antoine Estienne and Jaco Greeff
c46cd5030e
Implement first eth hd derivation test ( #858 )
...
* implement first eth hd test
* lint
* added gerald test address
* test now passes
* started implementing sith local secp256k1
* Pass publicKey through on verify
* Some test fixes
* renamed tweakadd
* added suggestions
* remove logs and complete test for tweakAdd
* lint
* reviewed
* solve linting problems
* relocate hd package
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* added asset for tolegacyseed
* yarn.lock and linting
* remove isUint8 util
* fix tests and added tests
* fixed test
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2021-02-24 15:50:12 +01:00
Github Actions
c7e474cdc6
[CI Skip] release/beta 5.7.2-1
...
skip-checks: true
2021-02-24 08:14:27 +00:00
Github Actions
f956759865
[CI Skip] release/beta 5.7.2-0
...
skip-checks: true
2021-02-24 07:14:06 +00:00
Github Actions
cc4a579905
[CI Skip] release/stable 5.7.1
...
skip-checks: true
2021-02-21 08:13:58 +00:00
Github Actions
a248bc9f96
[CI Skip] release/beta 5.6.4-1
...
skip-checks: true
2021-02-20 10:56:44 +00:00
Jaco Greeff
35f677f2e9
Additional substrate test vectors for ss58 ( #884 )
2021-02-20 11:50:56 +01:00
Github Actions
fccba5d93d
[CI Skip] release/beta 5.6.4-0
...
skip-checks: true
2021-02-19 09:48:00 +00:00
Jaco Greeff
ae172e2c53
Pass publicKey through on verify ( #883 )
...
* Pass publicKey through on verify
* Some test fixes
* Adjust tests
* Explicit public
* Additional failing tests
2021-02-19 10:43:19 +01:00
Jaco Greeff
11f1d8057b
5.6.3 ( #882 )
2021-02-16 12:17:13 +01:00
Jaco Greeff
73708b72c7
Allow double-byte ss58 ( #868 )
...
* Allow double-byte ss58
* Update keyring tests (non-68)
* Range check
* Fixup tests and encoding
* Adjust keyring test
* Adjust
* Assert format
* Additionl subkey equivalency tests
* ecdsa tests
* Remove invalid test
* UpdateAssert of reserved
* Cleanups
* cleanups
* Last test for Substrate equality
* crosscheck update
* network null
* network
2021-02-06 17:05:54 +01:00
Jaco Greeff
ca1362c595
Cleanup Buffer.from usages, expand tests ( #869 )
...
* Cleanup Bffer.from usages, expand tests
* validate mnemonic tests & cleanups
2021-02-04 08:50:07 +01:00
Jaco Greeff
1062ace58d
BN_{MILLION, BILLION} ( #866 )
...
* BN_{MILLION, BILLION}
* Add BN(2-9)
* adjust
* inline
* BN_TWO
* BN_ZERO
* BN_ONE gets used in return
2021-02-02 15:20:31 +01:00
Jaco Greeff
c2f453481c
Additional hdLedger tests ( #863 )
2021-02-01 14:39:14 +01:00
Jaco Greeff
c52a7b1e64
5.5 ( #862 )
...
* 5.5
* Remove extra arg from mnemonicToLegacySeed
2021-01-31 08:51:43 +01:00
Jaco Greeff
24b1790c99
Add hmac{Sha256, 512} ( #861 )
...
* Add hmac{Sha256, 512}
* Adjust
* private hmac
2021-01-30 20:02:21 +01:00
Jaco Greeff
bc84220108
Add Ledger-compatible derivation ( #860 )
...
* Add Ledger-compatible derivation
* Export hd from root
* Renames
2021-01-30 18:33:15 +01:00
Jaco Greeff
f12aa92383
Add schnorrkelVrf{Sign, Verify} functions ( #845 )
...
* Add schnorrkelVrf{Sign, Verify} functions
* Apply suggestions from code review
2021-01-20 12:54:59 +01:00
Jaco Greeff
f0f0dec8ea
2021 ( #824 )
2021-01-03 11:20:22 +01:00
Jaco Greeff
814f8418f2
Fix nacl imports ( #823 )
...
* Fix nacl imports
* patch
* rewrite
2020-12-31 10:54:31 +01:00
Jaco Greeff
0d7ed7420d
Add keccak512 ( #820 )
...
* Add keccak512
* dedupe
* Adjust hex test
* ss58
* fix expectation
2020-12-25 09:52:49 +01:00
Jaco Greeff
31426858c6
detectPackage import revert
2020-12-18 11:18:02 +01:00
Jaco Greeff
f763a66219
Allow detectPackage with a function ( #811 )
2020-12-17 12:07:00 +01:00
Jaco Greeff
1061df6e4a
Adjust blakejs commonjs imports ( #809 )
2020-12-17 12:03:21 +01:00
Jaco Greeff
c6fd67b5d5
detectPackage with import.meta.url ( #810 )
...
* detectPackage with import.meta.url
* Bump dev
* Remove duplicate detectPackage
* Fix detectPackage import
2020-12-16 15:44:00 +01:00
Jaco Greeff
a28f8dad37
detectPackage cleanups ( #807 )
2020-12-15 15:49:00 +01:00
Jaco Greeff
4c02b25a2d
Small adjustments for esm (& default build) ( #798 )
2020-12-11 17:08:16 +01:00
Jaco Greeff
408a6706b1
Adjust imports ( #791 )
2020-12-09 11:02:55 +01:00
Jaco Greeff
b1a40516c1
Bump dev (import sorting) ( #789 )
2020-12-07 16:13:47 +01:00
Jaco Greeff
af71673c7b
import type ( #782 )
2020-12-01 13:24:37 +01:00
Jaco Greeff
f1da9f05fb
Cleanup/simplify ETH signing ( #767 )
...
* Cleanup/simplify ETH signing
* Cleanup options
* Adjust ETH tests
* checksummed
* mutli ethereum
2020-11-15 12:45:09 +01:00
Antoine Estienne
3800ffd61a
Add eth tests and truncate address for keccak ( #763 )
...
* add eth tests and truncate address for keccak
* lint
* refactor
2020-11-10 15:34:45 +01:00
Jaco Greeff
abb1062462
Re-enable esm modules ( #762 )
2020-11-10 12:25:05 +01:00
Jaco Greeff
3b9617faf4
Extract detectPackage /cryptoWait as side effect ( #761 )
2020-11-09 22:09:53 +01:00
Jaco Greeff
82b25aecfb
Replace pbkdf2 ( #758 )
...
* Replace pbkdf2
* Optional length
* cleanups
2020-11-08 21:34:34 +01:00
Jaco Greeff
68bcce7a27
Cleanup pbkdf2 use ( #757 )
2020-11-08 20:52:02 +01:00
Jaco Greeff
055c4f82f5
Adjust nacl imports ( #756 )
2020-11-08 19:42:13 +01:00
Jaco Greeff
f07d66562b
Remove default exports ( #755 )
...
* Remove default exports
* Cleanup tests
* Exports in util
* Single secp256k1 instance
* Length check
* format check
* encoded lengths
2020-11-08 18:07:31 +01:00
Jaco Greeff
1aec77922f
Adjust xxhash imports (only 64 used) ( #753 )
2020-11-08 14:52:28 +01:00
Jaco Greeff
8029a54508
Additional complexity adjustments ( #751 )
...
* Adjust encoder/decoder fallbacks
* Dep-dup is functions
* Complexity cleanups
* More complexity adjustments
2020-11-08 12:10:29 +01:00
Jaco Greeff
c67c1966d7
Adjust encoder/decoder fallbacks ( #750 )
...
* Adjust encoder/decoder fallbacks
* Dep-dup is functions
* Complexity cleanups
2020-11-08 11:20:22 +01:00
Jaco Greeff
7135941b6a
Cleanups to signature verification ( #749 )
2020-11-07 17:11:49 +01:00
Jaco Greeff
d751c03d45
Bump wasm-crypto ( #745 )
...
* Bump wasm-crypto
* Use x-randomvalues for randomAsU8a
2020-11-07 11:18:06 +01:00
Jaco Greeff
695e19a8a7
Remove polyfills ( #739 )
...
* Remove polyfills
* CHANGELOG
* jestConfig
* Adjust jest
* Revert explicit overrides (from base)
* Fix dev
* 4.0.0
* Bump wasm-crypto
* min/max duplication
* Split tests, update dev
* startChar
* validate params
* complexity?
* secp256k1Verify options
* sign Options
* hasher extraction
2020-11-03 10:29:22 +01:00
Jaco Greeff
3230663ae1
3.7 ( #738 )
...
* 3.7
* Update new rules
* RegExp
* formatBalance cleanups
* Revert
* Formatting
* fill
* format test fix
* cleanups
* Cleanups
* Expand bip39 tests
* Cleanups
* Cleanups
2020-11-01 14:44:14 +01:00
Jaco Greeff
6715bef24a
Align JS bip39 with wasm-crypto ( #730 )
...
* Align JS bip39 with wasm-crypto
* Cleanups
2020-10-26 22:57:11 +01:00
Jaco Greeff
253776a510
Cleanup elliptic imports ( #729 )
2020-10-26 21:37:51 +01:00
Jaco Greeff
65b1c81c21
Expose all claimed/available networks ( #719 )
...
* Expose all claimed/available networks
* Expansion
2020-10-16 12:09:37 +02:00
Jaco Greeff
3447cd40bf
Add @polkadot/networks ( #707 )
...
* Add @polkadot/networks
* Update .github/workflows/ss58-registry.yml
* Use prefixes from @polkadot/network
* Update packages/networks/src/checkLatest.spec.ts
* Cleanups
* Auto-check fields based on schema
* typo
* language
2020-10-14 14:52:29 +02:00
Jake Naviasky
506142da8a
Add evmToAddress and addressToEvm crypto utils. ( #705 )
2020-10-12 18:11:20 +02:00
Jaco Greeff
ae1a37cdf7
Verify with MultiSignature ( #703 )
...
* Verify with MultiSignature
* Bump dev
2020-10-07 13:24:24 +02:00