* Ethereum pk -> address * [WIP] Claim tokens app * cleanup * refactor * Fixup address extraction * Use card instead of Inset (UI alignment) * Tadaaa! Claiming works. * Uppercase token name * Claim location (& overall spacing) * Remove stray console.error * Some documentation around utils
24 lines
510 B
TypeScript
24 lines
510 B
TypeScript
// Copyright 2017-2019 @polkadot/apps-routing authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
import { Routes } from './types';
|
|
|
|
import Claims from '@polkadot/app-claims';
|
|
|
|
export default ([
|
|
{
|
|
Component: Claims,
|
|
display: {
|
|
needsApi: [
|
|
'query.claims.claims'
|
|
]
|
|
},
|
|
i18n: {
|
|
defaultValue: 'Claim Tokens'
|
|
},
|
|
icon: 'star',
|
|
name: 'claims'
|
|
}
|
|
] as Routes);
|