Add Kusama metadata (#126)

This commit is contained in:
Jaco Greeff 2019-08-25 14:14:49 +02:00 committed by GitHub
parent 6e5609d410
commit b1bb579d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 23 additions and 13 deletions

View File

@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.8.1"
"version": "0.8.2"
}

View File

@ -1,12 +1,12 @@
{
"name": "@polkadot/extension-dapp",
"description": "Provides an interfaces around the injected globals for ease of access by dapp developers.",
"version": "0.8.1",
"version": "0.8.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.5.5",
"@polkadot/extension-inject": "^0.8.1"
"@polkadot/extension-inject": "^0.8.2"
},
"peerDependencies": {
"@polkadot/api": "*"

View File

@ -1,7 +1,7 @@
{
"name": "@polkadot/extension-inject",
"description": "A generic injector (usable to any extension), that populates the base exposed interfaces to be used by dapps.",
"version": "0.8.1",
"version": "0.8.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "@polkadot/extension-ui",
"description": "A sample signer extension for the @polkadot/api",
"version": "0.8.1",
"version": "0.8.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {

View File

@ -1,12 +1,12 @@
{
"name": "@polkadot/extension",
"description": "A sample signer extension for the @polkadot/api",
"version": "0.8.1",
"version": "0.8.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@polkadot/api": "^0.90.1",
"@polkadot/extension-ui": "^0.8.1",
"@polkadot/extension-ui": "^0.8.2",
"@polkadot/ui-keyring": "^0.42.1"
},
"devDependencies": {

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/extension-ui authors & contributors
// Copyright 2019 @polkadot/extension authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
@ -7,6 +7,7 @@ import { Metadata } from '@polkadot/types';
// imports chain details, generally metadata. For the generation of these,
// curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "state_getMetadata", "params":[]}' http://localhost:9933
import alexander from './alexander';
import kusama from './kusama';
interface Chain {
meta?: Metadata;
@ -18,11 +19,9 @@ const chains: Record<string, Chain> = {
name: 'Alexander',
meta: new Metadata(alexander.meta)
},
'0x10c08714a10c7da78f40a60f6f732cf0dba97acfb5e2035445b032386157d5c3': {
name: 'Emberic Elm'
},
'0xe1aa646d87d3c0ba5cf5f09d2ff6deb9c373b75d9660ba184b4ca953f92565e6': {
name: 'Flaming Fir'
'0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf': {
name: 'Kusama CC1',
meta: new Metadata(kusama.meta)
}
};

File diff suppressed because one or more lines are too long