Remove unmaintained cc1 (#186)

* Remove unmaintained cc1

* Bump polkadot-js deps
This commit is contained in:
Jaco Greeff
2019-10-25 09:17:22 +02:00
committed by GitHub
parent f54cd1eeed
commit 9400b28436
7 changed files with 80 additions and 97 deletions
+11 -8
View File
@@ -17,6 +17,17 @@ As it stands, it does one thing: it _only_ manages accounts and allows the signi
![interface screenshots](docs/concat-overview.jpg)
## FAQ
### Why can't I import an account with a seed
This is a deliberate choice since mnemonic phrases are easier to write down, to memorize or type in a field. They have a checksum (not every 12/24 words list is a valid mnemonic) and constitute a much better means of holding un-encrypted information. Therefore, this extension does not and will not have the functionality to recover an account from a hex seed phrase.
### I want to send funds directly from the extension
The extension is not meant to be a full wallet replacement. It tries to focus on account management and making it as smooth as possible - and then makes these accounts to any dapp that can perform transfers, allow you to vote on democracy proposals and/or participate in any feature available on Polkadot and Substrate. We really aim to keep this singular account-only focus, leaving the hard-work of understanding chains and their intricacies over to over to wallets such as [polkadot-js/apps](https://polkadot.js.org/apps/).
### My addresses display differently on the extension vs a dapp
Unlike a dapp, the extension itself does not connect to a network. The addresses are formatted with a network-specific prefix, which on a dapp, is retrieved upon connection from the chain properties. Underlying the public keys can be the same, but based on the address formatting the display could be different. This does not affect operation at all. You can choose which format to display the addresses in your extension via the "Options" screen.
## Development version
Steps to build the extension and view your changes in a browser:
@@ -119,11 +130,3 @@ window.injectedWeb3 = {
}
}
```
## FAQ
### Why can't I import an account with a seed
This is a deliberate choice since mnemonic phrases are easier to write down, to memorize or type in a field. They are checksummed (not every 12/24 words list is a valid mnemonic) and constitute a much better means of holding un-encrypted information. Therefore, this extension does not and will not have the functionality to recover an account from a hex seed phrase.
### I want to send funds directly from the extension
The extension is not meant to be a full wallet replacement. It tries to focus on account management and making it as smooth as possible - and then makes these accounts to any dapp that can perform transfers, allow you to vote on democracy proposals and/or participate in any feature available on Polkadot and Substrate. We really aim to keep this singular account-only focus, leaving the hard-work of understanding chains and their intricacies over to over to wallets such as [polkadot-js/apps](https://polkadot.js.org/apps/).
+2 -2
View File
@@ -12,9 +12,9 @@
"yarn": "^1.10.1"
},
"resolutions": {
"@polkadot/api": "^0.95.0-beta.34",
"@polkadot/api": "^0.95.0-beta.36",
"@polkadot/keyring": "^1.6.1",
"@polkadot/types": "^0.95.0-beta.34",
"@polkadot/types": "^0.95.0-beta.36",
"@polkadot/util": "^1.6.1",
"@polkadot/util-crypto": "^1.6.1",
"babel-core": "^7.0.0-bridge.0",
+1 -2
View File
@@ -9,11 +9,10 @@ import { Chain } from './types';
// inside the api, run `yarn chain:info --ws <url>`
import alexander from './alexander';
import edgeware from './edgeware';
import kusamaCC1 from './kusama-cc1';
import kusamaCC2 from './kusama-cc2';
const chains: Map<string, Chain> = new Map(
[alexander, edgeware, kusamaCC1, kusamaCC2].map(
[alexander, edgeware, kusamaCC2].map(
({ chain, genesisHash, icon, metaCalls, specVersion, ss58Format, tokenDecimals, tokenSymbol, types }): [string, Chain] => [
genesisHash,
{
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -6,8 +6,8 @@
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/react-identicon": "^0.46.0-beta.15",
"@polkadot/react-qr": "^0.46.0-beta.15",
"@polkadot/react-identicon": "^0.46.0-beta.16",
"@polkadot/react-qr": "^0.46.0-beta.16",
"@types/react-router": "^5.1.2",
"@types/react-router-dom": "^5.1.0",
"react-router": "^5.1.2",
+2 -2
View File
@@ -5,9 +5,9 @@
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@polkadot/api": "^0.95.0-beta.34",
"@polkadot/api": "^0.95.0-beta.36",
"@polkadot/extension-ui": "^0.13.0-beta.14",
"@polkadot/ui-keyring": "^0.46.0-beta.15"
"@polkadot/ui-keyring": "^0.46.0-beta.16"
},
"devDependencies": {
"@babel/runtime": "^7.6.3",
+62 -62
View File
@@ -1975,37 +1975,37 @@
once "^1.4.0"
universal-user-agent "^4.0.0"
"@polkadot/api-derive@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.95.0-beta.34.tgz#e6c6a2d5ce89e371ad7d1afe537bc7bf1127b51c"
integrity sha512-sbChiYRHJPZX3AItdJcB26ECLMSdX4IVQ8Szc7YcXlCIcDc/McRXp1uaHFG6OSCYkFVdwoU3djDBgO3CamHcgQ==
"@polkadot/api-derive@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.95.0-beta.36.tgz#36f4e11766786cbc23bee9ae9d74ce3842816504"
integrity sha512-QjR4ZmAjrQexi2nRutPTx44azVLzD39WemY/tj2k3pgeKf+7e6DCAh1O6XCevwTw0g1WmFPUdAIcoVhMP08Mog==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/api" "^0.95.0-beta.34"
"@polkadot/types" "^0.95.0-beta.34"
"@polkadot/api" "^0.95.0-beta.36"
"@polkadot/types" "^0.95.0-beta.36"
"@polkadot/api-metadata@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/api-metadata/-/api-metadata-0.95.0-beta.34.tgz#7cb605896f1caf69e6b2d04e7c99e671cdceb005"
integrity sha512-ukSByhwh+/SbW6DAHaJ2l852Ka7vHdcVfjz0GKXmctlFmSH+7iyp2EguDdELcImuL0YJj4lq7Ly1hcB8wJ+pdQ==
"@polkadot/api-metadata@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/api-metadata/-/api-metadata-0.95.0-beta.36.tgz#ef8924312feaab0c523bf62c7b948dcf76dd26c4"
integrity sha512-w5XhOKAsqZTpMs1N3JK4pnBpBmf6VWKELZeF1TMxENlkw1X151bXjgB0hxQKVchxRKjI23iVT3xDo1kfNcBKeQ==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/types" "^0.95.0-beta.34"
"@polkadot/types" "^0.95.0-beta.36"
"@polkadot/util" "^1.6.1"
"@polkadot/util-crypto" "^1.6.1"
"@polkadot/api@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.95.0-beta.34.tgz#8d9a8352c85e043ce517194a485e7888db30c9ae"
integrity sha512-KEy5hz0bJqCJHaTbItWEzyLvw+cMoGYFARSwN/eBGa0BG5bQSEA+S7NmRhGQ+S6eePqUftdYC7MFbgYud+KLGA==
"@polkadot/api@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.95.0-beta.36.tgz#a80dc6bb8b695ac2c466f2b5807117ac756b13fe"
integrity sha512-E4+WgEiEw+MMBTBa12OjlnnfaCmacCLQEqkQVrBkAQP++esW1CwTu+PC0Da/lnyasBhqyP7DqDdHpQE42VCy9w==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/api-derive" "^0.95.0-beta.34"
"@polkadot/api-metadata" "^0.95.0-beta.34"
"@polkadot/api-derive" "^0.95.0-beta.36"
"@polkadot/api-metadata" "^0.95.0-beta.36"
"@polkadot/keyring" "^1.6.1"
"@polkadot/rpc-core" "^0.95.0-beta.34"
"@polkadot/rpc-provider" "^0.95.0-beta.34"
"@polkadot/types" "^0.95.0-beta.34"
"@polkadot/rpc-core" "^0.95.0-beta.36"
"@polkadot/rpc-provider" "^0.95.0-beta.36"
"@polkadot/types" "^0.95.0-beta.36"
"@polkadot/util-crypto" "^1.6.1"
"@polkadot/dev-react@^0.32.0-beta.11":
@@ -2092,10 +2092,10 @@
typescript "^3.6.4"
vuepress "^1.2.0"
"@polkadot/jsonrpc@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.95.0-beta.34.tgz#35cf846b5d02f2036f889120d6b5ed57fa184f01"
integrity sha512-jfWXgH62sz2YRTcNpYD6kVEVJ4cgX68q4ibIMPpNqqs2efodKnT30BOTl+lSpCUbYMyOVehLUNBTdjdIDyOOXQ==
"@polkadot/jsonrpc@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.95.0-beta.36.tgz#2faade9b6c6158f98d3314b63b072bb4f280a753"
integrity sha512-Wk1u5J4Pv0cejuhuTQNU1dTW+Tc42xCVYIwjJ7egnO73fyZNbsXubl/TdDISgS6uC0ml58qVPyvDWnXfGNNWCw==
dependencies:
"@babel/runtime" "^7.6.3"
@@ -2108,14 +2108,14 @@
"@polkadot/util" "^1.6.1"
"@polkadot/util-crypto" "^1.6.1"
"@polkadot/react-identicon@^0.46.0-beta.15":
version "0.46.0-beta.15"
resolved "https://registry.yarnpkg.com/@polkadot/react-identicon/-/react-identicon-0.46.0-beta.15.tgz#f4b139f4fa17a455e4f9f79e666f96f4b228c0c8"
integrity sha512-m8jijrd+06GHlvs6aLlsHG0uGOQ/q89Wv9EgKxh7cwt1sii+kMo6hkkVIE4b/tuVwVOC3k17u998VGpW60fFmg==
"@polkadot/react-identicon@^0.46.0-beta.16":
version "0.46.0-beta.16"
resolved "https://registry.yarnpkg.com/@polkadot/react-identicon/-/react-identicon-0.46.0-beta.16.tgz#599f71e12c76f1545a27ebedf57e9c0707144c47"
integrity sha512-fo3Y5HkexXx8TtMMjmSxkcV+Z/q+CnDOYe4Q2hVRcF3GYl8O2ivxLY9IjPxIJ/ZVT7xOORDRorgKRfFgSgQwCA==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/ui-settings" "^0.46.0-beta.15"
"@polkadot/ui-shared" "^0.46.0-beta.15"
"@polkadot/ui-settings" "^0.46.0-beta.16"
"@polkadot/ui-shared" "^0.46.0-beta.16"
"@types/color" "^3.0.0"
"@types/react-copy-to-clipboard" "^4.3.0"
color "^3.1.2"
@@ -2123,35 +2123,35 @@
react-copy-to-clipboard "^5.0.1"
styled-components "^4.4.0"
"@polkadot/react-qr@^0.46.0-beta.15":
version "0.46.0-beta.15"
resolved "https://registry.yarnpkg.com/@polkadot/react-qr/-/react-qr-0.46.0-beta.15.tgz#3bab27885f8b2256c90afdc544c1de165df23007"
integrity sha512-fZHsul1iKSmbcQKa9UzHK9IdVs6A4m7GWkdF/ITWbnzvKaF67036k8wLZdm+QpjUsxKbINxjq9CN35YA6QfT7Q==
"@polkadot/react-qr@^0.46.0-beta.16":
version "0.46.0-beta.16"
resolved "https://registry.yarnpkg.com/@polkadot/react-qr/-/react-qr-0.46.0-beta.16.tgz#a3de081c62bca9734439dea39a405f13fb426bed"
integrity sha512-lczCjNrnlb1kTgw5oj6/J9yP3VOAxsU9prO/iYaWPZ5jqtotpimWlbBfldNtbmRLaThMR3lOYtZSDJB+FExMPQ==
dependencies:
"@babel/runtime" "^7.6.3"
"@types/react-qr-reader" "^2.1.1"
qrcode-generator "^1.4.4"
react-qr-reader "^2.2.1"
"@polkadot/rpc-core@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.95.0-beta.34.tgz#396946a8af3f7417196c4dac21bc878a4f29acb1"
integrity sha512-j6LKUa9VwsaPeJOmWKeY9HcWJdnVI58lBN68lfNBZN6EEw2CDufz+93qQTXL8xnU3nia0EqP8fJKsSFF5l8Y4w==
"@polkadot/rpc-core@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.95.0-beta.36.tgz#f21af3314f067fed3c47db5963643c053ae0025d"
integrity sha512-oQuPnxYVZVodc0cAR2sHQ38TZeQpoaNAfmB4U+JxQuO9iC357GVJlCzZfsSHlyEG4p9dk5UkE0sEg/UGzlbcJA==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/jsonrpc" "^0.95.0-beta.34"
"@polkadot/rpc-provider" "^0.95.0-beta.34"
"@polkadot/types" "^0.95.0-beta.34"
"@polkadot/jsonrpc" "^0.95.0-beta.36"
"@polkadot/rpc-provider" "^0.95.0-beta.36"
"@polkadot/types" "^0.95.0-beta.36"
"@polkadot/util" "^1.6.1"
rxjs "^6.5.3"
"@polkadot/rpc-provider@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.95.0-beta.34.tgz#43766213156da6a276b41c9ca3b9cb35d60f4ada"
integrity sha512-BkqQokCxE9i+nBH3Ndywyx3SYimOlg1Hg/f1d7AhA4ziYW0YEOmXOTjcl1OUYPgQHGMk/u6XkoWC82arYBAGkg==
"@polkadot/rpc-provider@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.95.0-beta.36.tgz#0b1e91c6a0e8dc6b54de2d575ca1117fa6bc3b77"
integrity sha512-nLhcFWTPt47vs1kd0rXjTVuVqPJ3FLf09JaxqFmodltlayMapbJ9AIVn8ahPm+CYvQewssgkyLhp1iCzTOav5A==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/api-metadata" "^0.95.0-beta.34"
"@polkadot/api-metadata" "^0.95.0-beta.36"
"@polkadot/util" "^1.6.1"
"@polkadot/util-crypto" "^1.6.1"
"@types/nock" "^11.1.0"
@@ -2166,10 +2166,10 @@
dependencies:
"@types/chrome" "^0.0.91"
"@polkadot/types@^0.95.0-beta.34":
version "0.95.0-beta.34"
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.95.0-beta.34.tgz#8369944e6c5e1ef5cfcebb904c88accaefe69b7e"
integrity sha512-knTI+5MpBfN39IjhNdm44Ecb5m0AKyQTvxFYcE3LPtNn8yn0BNMiEAYk5HAYQiYcv441Aw3WKESbeRMZ7Wk8Pg==
"@polkadot/types@^0.95.0-beta.36":
version "0.95.0-beta.36"
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.95.0-beta.36.tgz#2b380a2e4fdf9df784023c49d803ee8dfffd7293"
integrity sha512-sdYSYq5WUREBg2XjxBPII4ovN+6W30+P+eht92tqjHGO+uPX8Pndpx13g5y4hOJ8OYcfXT5KiKoumEr2pV/VIg==
dependencies:
"@babel/runtime" "^7.6.3"
"@polkadot/util" "^1.6.1"
@@ -2177,10 +2177,10 @@
"@types/memoizee" "^0.4.3"
memoizee "^0.4.14"
"@polkadot/ui-keyring@^0.46.0-beta.15":
version "0.46.0-beta.15"
resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.46.0-beta.15.tgz#5e33ccf9483305ec0d257dd2d8ee633452c99de0"
integrity sha512-fcsBCY3baZW+S3SUBro/Ed02RMb5wi0mjf00F6VJn3Vbu6bEi9UuPMalCMtKWZ3k9HYyPCxqUgZLrrZEc6WvQg==
"@polkadot/ui-keyring@^0.46.0-beta.16":
version "0.46.0-beta.16"
resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.46.0-beta.16.tgz#3a68d8bcb87aa08285b1f37f65b4f28405a4079d"
integrity sha512-f+xi/0dLBe5Y9XmFn8QLptT3Vw7bFt3uCIzHlQh96PWQiLa30oH8NWBpRWHhjiIJJGZV/cAKuCd7Cx7Mt1nYVw==
dependencies:
"@babel/runtime" "^7.6.3"
"@ledgerhq/hw-transport-u2f" "^4.72.2"
@@ -2196,19 +2196,19 @@
optionalDependencies:
"@ledgerhq/hw-transport-node-hid" "^4.72.2"
"@polkadot/ui-settings@^0.46.0-beta.15":
version "0.46.0-beta.15"
resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.46.0-beta.15.tgz#249d5efed61f6e877571f95a8008ff68e472bf4e"
integrity sha512-E48frQUgbGQ4LL5ONrhXi/Ws8BU98edR8zVba1NhURM0AjKM7ZVrxHXowllBErIjkIWTTY6khOkrnspnkBEvuw==
"@polkadot/ui-settings@^0.46.0-beta.16":
version "0.46.0-beta.16"
resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.46.0-beta.16.tgz#e50059fa5f7c8fa3ecc541c0eb540d2a2f083a9e"
integrity sha512-PHfGc4Nk9nk8xcuF9oLEdd/zRx/kkp8M9L7sBPiDF1RQCzMYyoRK/bhtK8b8iwn6Y2hYyJnzPMjmRLG83blNIQ==
dependencies:
"@babel/runtime" "^7.6.3"
"@types/store" "^2.0.2"
store "^2.0.12"
"@polkadot/ui-shared@^0.46.0-beta.15":
version "0.46.0-beta.15"
resolved "https://registry.yarnpkg.com/@polkadot/ui-shared/-/ui-shared-0.46.0-beta.15.tgz#bc1a1d75a4e5a0d73e292d91cebaae4d74e2d609"
integrity sha512-bkw+hoNxzTCV7ecpYe5Ky7m6xUXEUdLHNi6PSu8QFq/yly2GqLBwa+znF+05JY+ABy8oILbxkOQNhPcPraIVGg==
"@polkadot/ui-shared@^0.46.0-beta.16":
version "0.46.0-beta.16"
resolved "https://registry.yarnpkg.com/@polkadot/ui-shared/-/ui-shared-0.46.0-beta.16.tgz#32d86eb0f9472600b28b41309237943d1520b760"
integrity sha512-6CuK0TXSaA8Tf9EQsuSVnukZPsfFMqicyKafZKfxkuKoEv4yLUC6VvAJjhNUHFu2nlR1yOl9qzV6rECaJKXWeA==
dependencies:
"@babel/runtime" "^7.6.3"
"@types/color" "^3.0.0"