sdk.default
Constructors
constructor
new default(db
, web3
, globalChannel
, log
, settings
, gql
)
Parameters
Name | Type |
---|---|
db | DB |
web3 | Web3Connector |
globalChannel | EventBus |
log | Logging |
settings | Settings |
gql | Gql |
Defined in
Methods
connect
connect(): Promise
<void
>
Returns
Promise
<void
>
Defined in
decryptText
decryptText(encryptedString
, encryptedSymmetricKey
): Promise
<any
>
Parameters
Name | Type |
---|---|
encryptedString | string |
encryptedSymmetricKey | string |
Returns
Promise
<any
>
Defined in
disconnect
disconnect(): Promise
<void
>
Returns
Promise
<void
>
Defined in
encryptText
encryptText(text
): Promise
<{ encryptedString
: any
; encryptedSymmetricKey
: any
}>
Parameters
Name | Type |
---|---|
text | string |
Returns
Promise
<{ encryptedString
: any
; encryptedSymmetricKey
: any
}>