BaseKeyStore
↳ LocalStorageStore
↳ LocalStorageStore
networkId?)
| Name | Type | Default value |
|---|---|---|
networkId | string | "testnet" |
Private Readonly networkId: string = "testnet"
Protected get keyPrefix(): string
string
Abstract cleanAllKey(address): void
| Name | Type |
|---|---|
address | string |
void
Abstract cleanKey(address, key): void
| Name | Type |
|---|---|
address | string |
key | string |
void
Abstract generateKey(): OrderlyKeyPair
OrderlyKeyPair
Abstract getAccountId(address): undefined | null | string
| Name | Type |
|---|---|
address | string |
undefined | null | string
Abstract getAddress(): undefined | null | string
undefined | null | string
Abstract getOrderlyKey(address?): null | OrderlyKeyPair
| Name | Type |
|---|---|
address? | string |
null | OrderlyKeyPair
Abstract setAccountId(address, accountId): void
| Name | Type |
|---|---|
address | string |
accountId | string |
void
Abstract setAddress(address): void
| Name | Type |
|---|---|
address | string |
void
Abstract setKey(orderlyKey, secretKey): void
| Name | Type |
|---|---|
orderlyKey | string |
secretKey | OrderlyKeyPair |
void