ghost-portal/packages/apps-routing/src/claims.ts
kwingram25 a4b0c494d3 Claim tokens app (#1485)
* 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
2019-08-16 00:40:27 +02:00

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);