rpc.ts 448 B

1234567891011121314151617181920
  1. // Copyright 2017-2018 @polkadot/apps authors & contributors
  2. // This software may be modified and distributed under the terms
  3. // of the ISC license. See the LICENSE file for details.
  4. import { Routes } from '../types';
  5. import Rpc from '@polkadot/app-rpc/index';
  6. export default ([
  7. {
  8. Component: Rpc,
  9. i18n: {
  10. defaultValue: 'Raw RPC'
  11. },
  12. icon: 'code',
  13. isExact: false,
  14. isHidden: false,
  15. name: 'rpc'
  16. }
  17. ] as Routes);