Add Kusama metadata (#126)
This commit is contained in:
parent
6e5609d410
commit
b1bb579d01
@ -9,5 +9,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.8.1"
|
||||
"version": "0.8.2"
|
||||
}
|
||||
|
||||
@ -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": "*"
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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
@ -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)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
7
packages/extension/src/chains/kusama.ts
Normal file
7
packages/extension/src/chains/kusama.ts
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user