UNPKG

@airgap/astar

Version:

The @airgap/astar is an Astar implementation of the ICoinProtocol interface from @airgap/coinlib-core.

13 lines (12 loc) 691 B
import { SubstrateProtocolNetwork, SubstrateProtocolOptions } from '@airgap/substrate/v1'; import { AstarProtocolConfiguration } from './configuration'; export declare type AstarUnits = 'ASTR' | 'mASTR' | 'uASTR' | 'nASTR' | 'pASTR' | 'fASTR' | 'aASTR'; export declare type ShidenUnits = 'SDN' | 'mSDN' | 'uSDN' | 'nSDN' | 'pSDN' | 'fSDN' | 'aSDN'; export interface AstarProtocolNetwork extends SubstrateProtocolNetwork { blockExplorerApi: string; } export interface AstarProtocolOptions { network: AstarProtocolNetwork; } export interface AstarBaseProtocolOptions<_Units extends string> extends SubstrateProtocolOptions<_Units, AstarProtocolConfiguration, AstarProtocolNetwork> { }