UNPKG

o1js

Version:

TypeScript framework for zk-SNARKs and zkApps

13 lines 334 B
export { RandomId }; const RandomId = { sizeInFields: () => 0, toFields: () => [], toAuxiliary: (v = Math.random()) => [v], fromFields: (_, [v]) => v, check: () => { }, toValue: (x) => x, fromValue: (x) => x, toInput: () => ({}), empty: () => Math.random(), }; //# sourceMappingURL=auxiliary.js.map