Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-implement bip39 #966

Merged
merged 13 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 1 addition & 147 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .yarn/cache/@types-node-npm-11.11.6-40abad0842-075f1c011c.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/bip39-npm-3.0.4-7c69c9182f-79ce1600a0.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/cipher-base-npm-1.0.4-2e98b97140-47d3568dbc.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/create-hash-npm-1.2.0-afd048e1ce-02a6ae3bb9.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/create-hmac-npm-1.1.7-b4ef32668a-ba12bb2257.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/md5.js-npm-1.3.5-130901125a-098494d885.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/pbkdf2-npm-3.1.2-d67bbb584f-2c950a100b.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/sha.js-npm-2.4.11-14868df4ca-ebd3f59d4b.zip

This file was deleted.

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ and this project adheres to
- @cosmjs/ledger-amino: Renamed `LaunchpadLedger` to `LedgerConnector` ([#955])
- @cosmjs/encoding: Created `toBech32()` and `fromBech32()`. Class Bech32 is now
deprecated and should not longer be used. ([#1053])
- @cosmjs/crypto: Use a custom BIP-39 implementation to reduce external
dependencies. This should also reduce the bundle size as only the English
wordlist is shipped. ([#966])

[#927]: https://github.com/cosmos/cosmjs/issues/927
[#955]: https://github.com/cosmos/cosmjs/issues/955
[#966]: https://github.com/cosmos/cosmjs/pull/966
[#989]: https://github.com/cosmos/cosmjs/issues/989
[#994]: https://github.com/cosmos/cosmjs/issues/994
[#1011]: https://github.com/cosmos/cosmjs/issues/1011
Expand Down
3 changes: 3 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ The code in packages/json-rpc was forked from https://github.com/iov-one/iov-cor

The code in packages/socket and scripts/socketserver was forked from the folders packages/iov-socket and scripts/socketserver respectively of https://github.com/iov-one/iov-core at tag v2.5.0 on 2020-06-24.

The code in packages/crypto/src/bip39.ts contains code forked from bitcoinjs/bip39 (https://github.com/bitcoinjs/bip39/blob/v3.0.4/LICENSE)
on 2021-12-16. Copyright (c) 2014, Wei Lu and Daniel Cousens.

Copyright 2018-2020 IOV SAS
Copyright 2020-2021 Confio OÜ
Copyright 2020 Simon Warta
Expand Down
1 change: 0 additions & 1 deletion packages/amino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"prettier": "^2.4.1",
"ses": "^0.11.0",
"source-map-support": "^0.5.19",
"stream-browserify": "^3.0.0",
"ts-node": "^8",
"typedoc": "^0.22",
"typescript": "~4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/amino/webpack.web.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = [
crypto: false,
events: false,
path: false,
stream: require.resolve("stream-browserify"),
stream: false,
string_decoder: false,
},
},
Expand Down
1 change: 0 additions & 1 deletion packages/cosmwasm-stargate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"readonly-date": "^1.0.0",
"ses": "^0.11.0",
"source-map-support": "^0.5.19",
"stream-browserify": "^3.0.0",
"ts-node": "^8",
"typedoc": "^0.22",
"typescript": "~4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmwasm-stargate/webpack.web.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = [
crypto: false,
events: false,
path: false,
stream: require.resolve("stream-browserify"),
stream: false,
string_decoder: false,
},
},
Expand Down
Loading