import { Address } from '..' ; export enum Platform { ckb , eth } export abstract class Provider { constructor ( public readonly platform ) { } private _address : Address ; get address ( ) : Address { return this . _address ; } set address ( value ) { this . _address = value ; } abstract async init ( ) ; abstract async sign ( message ) ; abstract async close ( ) ; }