@silvana-one/prover 1.0.42 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/index.cjs +0 -65
- package/dist/node/index.d.ts +0 -1
- package/dist/node/index.js +0 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/worker/cloud.d.ts +3 -3
- package/dist/node/worker/job.d.ts +2 -2
- package/dist/node/worker/task.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/index.d.ts +0 -1
- package/dist/web/index.js +0 -1
- package/dist/web/index.js.map +1 -1
- package/dist/web/worker/cloud.d.ts +3 -3
- package/dist/web/worker/job.d.ts +2 -2
- package/dist/web/worker/task.d.ts +2 -2
- package/package.json +7 -5
- package/src/index.ts +0 -1
- package/src/worker/cloud.ts +3 -3
- package/src/worker/job.ts +2 -2
- package/src/worker/task.ts +2 -2
- package/dist/node/networks.d.ts +0 -32
- package/dist/node/networks.js +0 -81
- package/dist/node/networks.js.map +0 -1
- package/dist/web/networks.d.ts +0 -32
- package/dist/web/networks.js +0 -81
- package/dist/web/networks.js.map +0 -1
- package/src/networks.ts +0 -130
package/dist/web/networks.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
export { networks, Mainnet, Devnet, Zeko, Lightnet, Local, };
|
|
2
|
-
const Mainnet = {
|
|
3
|
-
mina: [
|
|
4
|
-
//"https://proxy.devnet.minaexplorer.com/graphql",
|
|
5
|
-
"https://api.minascan.io/node/mainnet/v1/graphql",
|
|
6
|
-
],
|
|
7
|
-
archive: [
|
|
8
|
-
"https://api.minascan.io/archive/mainnet/v1/graphql",
|
|
9
|
-
//"https://archive.devnet.minaexplorer.com",
|
|
10
|
-
],
|
|
11
|
-
explorerAccountUrl: "https://minascan.io/mainnet/account/",
|
|
12
|
-
explorerTransactionUrl: "https://minascan.io/mainnet/tx/",
|
|
13
|
-
chainId: "mainnet",
|
|
14
|
-
name: "Mainnet",
|
|
15
|
-
};
|
|
16
|
-
const Local = {
|
|
17
|
-
mina: [],
|
|
18
|
-
archive: [],
|
|
19
|
-
chainId: "local",
|
|
20
|
-
};
|
|
21
|
-
const Devnet = {
|
|
22
|
-
mina: [
|
|
23
|
-
"https://api.minascan.io/node/devnet/v1/graphql",
|
|
24
|
-
//"https://proxy.devnet.minaexplorer.com/graphql",
|
|
25
|
-
],
|
|
26
|
-
archive: [
|
|
27
|
-
"https://api.minascan.io/archive/devnet/v1/graphql",
|
|
28
|
-
//"https://archive.devnet.minaexplorer.com",
|
|
29
|
-
],
|
|
30
|
-
explorerAccountUrl: "https://minascan.io/devnet/account/",
|
|
31
|
-
explorerTransactionUrl: "https://minascan.io/devnet/tx/",
|
|
32
|
-
chainId: "devnet",
|
|
33
|
-
name: "Devnet",
|
|
34
|
-
faucet: "https://faucet.minaprotocol.com",
|
|
35
|
-
};
|
|
36
|
-
const Zeko = {
|
|
37
|
-
mina: ["https://devnet.zeko.io/graphql"],
|
|
38
|
-
archive: ["https://devnet.zeko.io/graphql"],
|
|
39
|
-
explorerAccountUrl: "https://zekoscan.io/devnet/account/",
|
|
40
|
-
explorerTransactionUrl: "https://zekoscan.io/devnet/tx/",
|
|
41
|
-
chainId: "zeko",
|
|
42
|
-
name: "Zeko",
|
|
43
|
-
faucet: "https://zeko.io/faucet",
|
|
44
|
-
};
|
|
45
|
-
const Lightnet = {
|
|
46
|
-
mina: ["http://localhost:8080/graphql"],
|
|
47
|
-
archive: ["http://localhost:8282"],
|
|
48
|
-
accountManager: "http://localhost:8181",
|
|
49
|
-
chainId: "lightnet",
|
|
50
|
-
name: "Lightnet",
|
|
51
|
-
};
|
|
52
|
-
const networks = [Mainnet, Local, Devnet, Zeko, Lightnet];
|
|
53
|
-
/*
|
|
54
|
-
// not supported by o1js v1
|
|
55
|
-
|
|
56
|
-
const Berkeley: MinaNetwork = {
|
|
57
|
-
mina: [
|
|
58
|
-
"https://api.minascan.io/node/berkeley/v1/graphql",
|
|
59
|
-
"https://proxy.berkeley.minaexplorer.com/graphql",
|
|
60
|
-
],
|
|
61
|
-
archive: [
|
|
62
|
-
"https://api.minascan.io/archive/berkeley/v1/graphql",
|
|
63
|
-
"https://archive.berkeley.minaexplorer.com",
|
|
64
|
-
],
|
|
65
|
-
explorerAccountUrl: "https://minascan.io/berkeley/account/",
|
|
66
|
-
explorerTransactionUrl: "https://minascan.io/berkeley/tx/",
|
|
67
|
-
chainId: "berkeley",
|
|
68
|
-
name: "Berkeley",
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
const TestWorld2: MinaNetwork = {
|
|
72
|
-
mina: ["https://api.minascan.io/node/testworld/v1/graphql"],
|
|
73
|
-
archive: ["https://archive.testworld.minaexplorer.com"],
|
|
74
|
-
explorerAccountUrl: "https://minascan.io/testworld/account/",
|
|
75
|
-
explorerTransactionUrl: "https://minascan.io/testworld/tx/",
|
|
76
|
-
chainId: "testworld2",
|
|
77
|
-
name: "TestWorld2",
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
//# sourceMappingURL=networks.js.map
|
package/dist/web/networks.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"networks.js","sourceRoot":"","sources":["../../src/networks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,KAAK,GACN,CAAC;AAoCF,MAAM,OAAO,GAAgB;IAC3B,IAAI,EAAE;QACJ,kDAAkD;QAClD,iDAAiD;KAClD;IACD,OAAO,EAAE;QACP,oDAAoD;QACpD,4CAA4C;KAC7C;IACD,kBAAkB,EAAE,sCAAsC;IAC1D,sBAAsB,EAAE,iCAAiC;IACzD,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;CAChB,CAAC;AAEF,MAAM,KAAK,GAAgB;IACzB,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,MAAM,GAAgB;IAC1B,IAAI,EAAE;QACJ,gDAAgD;QAChD,kDAAkD;KACnD;IACD,OAAO,EAAE;QACP,mDAAmD;QACnD,4CAA4C;KAC7C;IACD,kBAAkB,EAAE,qCAAqC;IACzD,sBAAsB,EAAE,gCAAgC;IACxD,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,iCAAiC;CAC1C,CAAC;AAEF,MAAM,IAAI,GAAgB;IACxB,IAAI,EAAE,CAAC,gCAAgC,CAAC;IACxC,OAAO,EAAE,CAAC,gCAAgC,CAAC;IAC3C,kBAAkB,EAAE,qCAAqC;IACzD,sBAAsB,EAAE,gCAAgC;IACxD,OAAO,EAAE,MAAM;IACf,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAEF,MAAM,QAAQ,GAAgB;IAC5B,IAAI,EAAE,CAAC,+BAA+B,CAAC;IACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;IAClC,cAAc,EAAE,uBAAuB;IACvC,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,UAAU;CACjB,CAAC;AAEF,MAAM,QAAQ,GAAkB,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE"}
|
package/src/networks.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
export {
|
|
2
|
-
blockchain,
|
|
3
|
-
MinaNetwork,
|
|
4
|
-
networks,
|
|
5
|
-
Mainnet,
|
|
6
|
-
Devnet,
|
|
7
|
-
Zeko,
|
|
8
|
-
Lightnet,
|
|
9
|
-
Local,
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* blockchain is the type for the chain ID.
|
|
14
|
-
*/
|
|
15
|
-
type blockchain = "local" | "devnet" | "lightnet" | "mainnet" | "zeko";
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* MinaNetwork is the data structure for a Mina network, keeping track of the Mina and archive endpoints, chain ID, name, account manager, explorer account URL, explorer transaction URL, and faucet.
|
|
19
|
-
*/
|
|
20
|
-
interface MinaNetwork {
|
|
21
|
-
/** The Mina endpoints */
|
|
22
|
-
mina: string[];
|
|
23
|
-
|
|
24
|
-
/** The archive endpoints */
|
|
25
|
-
archive: string[];
|
|
26
|
-
|
|
27
|
-
/** The chain ID */
|
|
28
|
-
chainId: blockchain;
|
|
29
|
-
|
|
30
|
-
/** The name of the network (optional) */
|
|
31
|
-
name?: string;
|
|
32
|
-
|
|
33
|
-
/** The account manager for Lightnet (optional) */
|
|
34
|
-
accountManager?: string;
|
|
35
|
-
|
|
36
|
-
/** The explorer account URL (optional) */
|
|
37
|
-
explorerAccountUrl?: string;
|
|
38
|
-
|
|
39
|
-
/** The explorer transaction URL (optional) */
|
|
40
|
-
explorerTransactionUrl?: string;
|
|
41
|
-
|
|
42
|
-
/** The faucet URL (optional) */
|
|
43
|
-
faucet?: string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const Mainnet: MinaNetwork = {
|
|
47
|
-
mina: [
|
|
48
|
-
//"https://proxy.devnet.minaexplorer.com/graphql",
|
|
49
|
-
"https://api.minascan.io/node/mainnet/v1/graphql",
|
|
50
|
-
],
|
|
51
|
-
archive: [
|
|
52
|
-
"https://api.minascan.io/archive/mainnet/v1/graphql",
|
|
53
|
-
//"https://archive.devnet.minaexplorer.com",
|
|
54
|
-
],
|
|
55
|
-
explorerAccountUrl: "https://minascan.io/mainnet/account/",
|
|
56
|
-
explorerTransactionUrl: "https://minascan.io/mainnet/tx/",
|
|
57
|
-
chainId: "mainnet",
|
|
58
|
-
name: "Mainnet",
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
const Local: MinaNetwork = {
|
|
62
|
-
mina: [],
|
|
63
|
-
archive: [],
|
|
64
|
-
chainId: "local",
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const Devnet: MinaNetwork = {
|
|
68
|
-
mina: [
|
|
69
|
-
"https://api.minascan.io/node/devnet/v1/graphql",
|
|
70
|
-
//"https://proxy.devnet.minaexplorer.com/graphql",
|
|
71
|
-
],
|
|
72
|
-
archive: [
|
|
73
|
-
"https://api.minascan.io/archive/devnet/v1/graphql",
|
|
74
|
-
//"https://archive.devnet.minaexplorer.com",
|
|
75
|
-
],
|
|
76
|
-
explorerAccountUrl: "https://minascan.io/devnet/account/",
|
|
77
|
-
explorerTransactionUrl: "https://minascan.io/devnet/tx/",
|
|
78
|
-
chainId: "devnet",
|
|
79
|
-
name: "Devnet",
|
|
80
|
-
faucet: "https://faucet.minaprotocol.com",
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
const Zeko: MinaNetwork = {
|
|
84
|
-
mina: ["https://devnet.zeko.io/graphql"],
|
|
85
|
-
archive: ["https://devnet.zeko.io/graphql"],
|
|
86
|
-
explorerAccountUrl: "https://zekoscan.io/devnet/account/",
|
|
87
|
-
explorerTransactionUrl: "https://zekoscan.io/devnet/tx/",
|
|
88
|
-
chainId: "zeko",
|
|
89
|
-
name: "Zeko",
|
|
90
|
-
faucet: "https://zeko.io/faucet",
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
const Lightnet: MinaNetwork = {
|
|
94
|
-
mina: ["http://localhost:8080/graphql"],
|
|
95
|
-
archive: ["http://localhost:8282"],
|
|
96
|
-
accountManager: "http://localhost:8181",
|
|
97
|
-
chainId: "lightnet",
|
|
98
|
-
name: "Lightnet",
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
const networks: MinaNetwork[] = [Mainnet, Local, Devnet, Zeko, Lightnet];
|
|
102
|
-
|
|
103
|
-
/*
|
|
104
|
-
// not supported by o1js v1
|
|
105
|
-
|
|
106
|
-
const Berkeley: MinaNetwork = {
|
|
107
|
-
mina: [
|
|
108
|
-
"https://api.minascan.io/node/berkeley/v1/graphql",
|
|
109
|
-
"https://proxy.berkeley.minaexplorer.com/graphql",
|
|
110
|
-
],
|
|
111
|
-
archive: [
|
|
112
|
-
"https://api.minascan.io/archive/berkeley/v1/graphql",
|
|
113
|
-
"https://archive.berkeley.minaexplorer.com",
|
|
114
|
-
],
|
|
115
|
-
explorerAccountUrl: "https://minascan.io/berkeley/account/",
|
|
116
|
-
explorerTransactionUrl: "https://minascan.io/berkeley/tx/",
|
|
117
|
-
chainId: "berkeley",
|
|
118
|
-
name: "Berkeley",
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
const TestWorld2: MinaNetwork = {
|
|
122
|
-
mina: ["https://api.minascan.io/node/testworld/v1/graphql"],
|
|
123
|
-
archive: ["https://archive.testworld.minaexplorer.com"],
|
|
124
|
-
explorerAccountUrl: "https://minascan.io/testworld/account/",
|
|
125
|
-
explorerTransactionUrl: "https://minascan.io/testworld/tx/",
|
|
126
|
-
chainId: "testworld2",
|
|
127
|
-
name: "TestWorld2",
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
*/
|