UNPKG
@aleohq/sdk
Version:
latest (0.6.9)
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
A Software Development Kit (SDK) for Zero-Knowledge Transactions
github.com/AleoHQ/sdk
AleoHQ/sdk
@aleohq/sdk
/
dist
/
worker.d.ts
9 lines
(8 loc)
•
297 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
PrivateKey
}
from
"./index"
;
export
interface
WorkerAPI
{
executeOffline
:
(
localProgram
:
string
,
aleoFunction
:
string
,
inputs
:
string
[],
privateKey
:
string
) =>
Promise
<{
outputs
:
any
;
execution
:
string
; } |
string
>;
getPrivateKey
:
() =>
Promise
<
PrivateKey
>; }