Preparing search index...
The search index is not available
Webb Tools API
Webb Tools API
sdk-core/src
CircomProvingManager
Class CircomProvingManager
Hierarchy
CircomProvingManager
Index
Constructors
constructor
Properties
circuit
Wasm
tree
Depth
worker
Methods
prove
prove
With
Worker
prove
Without
Worker
setup
Worker
Constructors
constructor
new
Circom
Proving
Manager
(
circuitWasm
:
Uint8Array
, treeDepth
:
number
, worker
:
undefined
|
null
|
Worker
)
:
CircomProvingManager
Parameters
circuitWasm:
Uint8Array
treeDepth:
number
worker:
undefined
|
null
|
Worker
Returns
CircomProvingManager
Properties
Private
circuit
Wasm
circuit
Wasm
:
Uint8Array
Private
tree
Depth
tree
Depth
:
number
Private
Readonly
worker
worker
:
undefined
|
null
|
Worker
Methods
prove
prove
<
T
>
(
protocol
:
T
, input
:
ProvingManagerSetupInput
<
T
>
)
:
Promise
<
ProofInterface
<
T
>
>
Type Parameters
T
extends
NoteProtocol
Parameters
protocol:
T
input:
ProvingManagerSetupInput
<
T
>
input to prove
Returns
Promise
<
ProofInterface
<
T
>
>
Private
prove
With
Worker
prove
With
Worker
<
T
>
(
input
:
[
T
,
WorkerProvingManagerSetupInput
<
T
>
]
, worker
:
Worker
)
:
Promise
<
WorkerProofInterface
<
T
>
>
Type Parameters
T
extends
NoteProtocol
Parameters
input:
[
T
,
WorkerProvingManagerSetupInput
<
T
>
]
worker:
Worker
Returns
Promise
<
WorkerProofInterface
<
T
>
>
Private
prove
Without
Worker
prove
Without
Worker
<
T
>
(
protocol
:
T
, input
:
WorkerProvingManagerSetupInput
<
T
>
)
:
Promise
<
WorkerProofInterface
<
T
>
>
Type Parameters
T
extends
NoteProtocol
Parameters
protocol:
T
input:
WorkerProvingManagerSetupInput
<
T
>
Returns
Promise
<
WorkerProofInterface
<
T
>
>
setup
Worker
setup
Worker
(
)
:
Promise
<
unknown
>
Returns
Promise
<
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
circuit
Wasm
tree
Depth
worker
prove
prove
With
Worker
prove
Without
Worker
setup
Worker
Webb
Tools API
api/src
rpc
Properties
options
options
With
Chain
app-
util/src
Log
Level
Event
Bus
Logger
Event
Logger
Service
Log
Event
Subscription
sdk-
core/src
Chain
Type
Anchor
Create
Proposal
Anchor
Update
Proposal
Arkworks
Proving
Manager
Arkworks
Proving
Manager
Thread
Circom
Proving
Manager
Circom
Proving
Manager
Thread
Circom
Utxo
EVMProposal
Fee
Recipient
Update
Proposal
Keypair
Max
Deposit
Limit
Proposal
Merkle
Tree
Min
Withdrawal
Limit
Proposal
Note
Proposal
Header
Proposer
Set
Update
Proposal
Refresh
Vote
Proposal
Register
Fungible
Token
Proposal
Register
Nft
Token
Proposal
Rescue
Tokens
Proposal
Resource
Id
Resource
Id
Update
Proposal
Set
Treasury
Handler
Proposal
Set
Verifier
Proposal
Token
Add
Proposal
Token
Remove
Proposal
Utxo
Wrapping
Fee
Update
Proposal
IAnchor
Create
Proposal
IAnchor
Update
Proposal
IEVMProposal
IFee
Recipient
Update
Proposal
IMax
Deposit
Limit
Proposal
IMin
Withdrawal
Limit
Proposal
IProposal
Header
IProposer
Set
Update
Proposal
IRefresh
Vote
Proposal
IRegister
Fungible
Token
Proposal
IRegister
Nft
Token
Proposal
IRescue
Tokens
Proposal
IResource
Id
IResource
Id
Update
Proposal
ISet
Treasury
Handler
Proposal
ISet
Verifier
Proposal
IToken
Add
Proposal
IToken
Remove
Proposal
IWrapping
Fee
Update
Proposal
Leaf
Identifier
Proof
Payload
Proving
Manager
Payload
Merkle
Proof
MixerPMSetup
Input
Mixer
Proof
Note
Gen
Input
PMEvents
Proof
Interface
Proving
Manager
Setup
Input
Typed
Chain
Id
Utxo
Gen
Input
VAnchorPMSetup
Input
VAnchor
Proof
BE
FIELD_
SIZE
LE
build
Variable
Witness
Calculator
byte
Array
To
Num
calculate
Typed
Chain
Id
cast
To
Chain
Type
create
Roots
Bytes
generate
Function
Sig
Hash
generate
Variable
Witness
Input
generate
Withdraw
Proof
Call
Data
getVAnchor
Ext
Data
Hash
groth16
Export
Solidity
Call
Data
max
mean
median
min
num
To
Byte
Array
p256
pack
Encrypted
Message
parse
Typed
Chain
Id
randomBN
rbigint
sign
Message
to
Buffer
to
Fixed
Hex
to
Hex
unpack
Encrypted
Message
wasm-
utils/build/wasm-
utils
Ext
Data
Js
Leaf
Js
Note
Js
Note
Builder
Js
Proof
Input
Js
Proof
Input
Builder
Js
Proof
Output
Js
Proving
Keys
Js
Utxo
Leaves
Map
Input
MTBn254
X5
Mixer
Proof
Operation
Error
VAnchor
Proof
Backend
Curve
Hash
Function
Indices
Leaves
Note
Protocol
Version
generate_
proof_
js
js_
note_
of_
jsval
js_
utxo_
of_
jsval
main
setup
Keys
verify_
js_
proof
Generated using
TypeDoc
input to prove