@o1js/native-linux-x64 0.0.1-dev
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/index.d.ts +32 -0
- package/index.js +1 -0
- package/package.json +26 -0
- package/plonk_napi.node +0 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Header section
|
|
2
|
+
// To edit this section, look for
|
|
3
|
+
// ./src/lib/crypto/kimchi_bindings/js/native/header-d.ts
|
|
4
|
+
// This file gets auto-included in the generated plonk-napi types to supplement
|
|
5
|
+
// external pointer types.
|
|
6
|
+
|
|
7
|
+
type WasmPastaFpPlonkIndex = {};
|
|
8
|
+
|
|
9
|
+
// Header section end
|
|
10
|
+
export declare class ExternalObject<T> {
|
|
11
|
+
readonly '': {
|
|
12
|
+
readonly '': unique symbol
|
|
13
|
+
[K: symbol]: T
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export const ARCH_NAME: string
|
|
17
|
+
|
|
18
|
+
export const BACKING: string
|
|
19
|
+
|
|
20
|
+
export declare function caml_pasta_fp_poseidon_block_cipher(state: Uint8Array): Uint8Array
|
|
21
|
+
|
|
22
|
+
export declare function caml_pasta_fq_poseidon_block_cipher(state: Uint8Array): Uint8Array
|
|
23
|
+
|
|
24
|
+
export declare function getNativeCalls(): bigint
|
|
25
|
+
|
|
26
|
+
export const OS_NAME: string
|
|
27
|
+
|
|
28
|
+
export declare function prover_index_from_bytes(bytes: Uint8Array): ExternalObject<WasmPastaFpPlonkIndex>
|
|
29
|
+
|
|
30
|
+
export declare function prover_index_to_bytes(index: ExternalObject<WasmPastaFpPlonkIndex>): Uint8Array
|
|
31
|
+
|
|
32
|
+
export declare function prover_to_json(proverIndex: ExternalObject<WasmPastaFpPlonkIndex>): string
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./plonk_napi.node')
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@o1js/native-linux-x64",
|
|
3
|
+
"version": "0.0.1-dev",
|
|
4
|
+
"author": "O(1) Labs",
|
|
5
|
+
"os": [
|
|
6
|
+
"linux"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"x64"
|
|
10
|
+
],
|
|
11
|
+
"type": "commonjs",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"default": "./index.js",
|
|
15
|
+
"types": "./index.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"plonk_napi.node",
|
|
20
|
+
"index.d.ts",
|
|
21
|
+
"index.js"
|
|
22
|
+
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"url": "https://github.com/o1-labs/o1js"
|
|
25
|
+
}
|
|
26
|
+
}
|
package/plonk_napi.node
ADDED
|
Binary file
|