Skip to main content

local-profile

local-profile

List all available local profiles with their configuration details. Specify name to display information for only that profile.

derand local-profile [--name ""]

local-profile benchmark

Benchmark profile to get suitable parameters for the remote profile.

Flags

ParameterTypeMeaningDefault
--namestringLocal profile name""
--target-delay-timeintTarget delay time in seconds12
--t-seeduintSeed for VDF iteration count30000000
--repeatsintRepeats for ZK circuit5

Example

derand local-profile benchmark --name "my-profile" --target-delay-time 12 --repeats 5

local-profile create

Create a new local profile with custom parameters.

Flags

ParameterTypeMeaningDefault
--namestringProfile name""
--seedstringSeed value"0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"
--d-bitsuint16Classgroup discriminant size16
--h2f-stepsuint16Number of steps for hash-to-form2
--h2f-generatorsuint16Number of generators for hash-to-form8
--limb-bitsuint16ZK circuit limb size16
--split-expuint16Higher value reduces intermediate pow circuit size but increases RC verifier final circuit size1
--srs-sourcestringSRS source (unsafe/snarkjs/perpetual)"unsafe"
--zk-vvintSingle phase or two phase RC verifier (1/2)1

Example

derand local-profile create --name "my-profile" --d-bits 16 --limb-bits 16

local-profile delete

Delete a local profile.

Flags

ParameterTypeMeaningDefault
--namestringLocal profile name""

Example

derand local-profile delete --name "my-profile"

local-profile deploy

Deploy a local profile to the blockchain.

Flags

ParameterTypeMeaningDefault
--namestringLocal profile name""

Example

derand local-profile deploy --name "my-profile"

local-profile export

Export a local profile to a separate JSON file.

Flags

ParameterTypeMeaningDefault
--namestringLocal profile name""
--outstringOutput file path""

Example

derand local-profile export --name "my-profile" --out "profile.json"

local-profile import

Import a new local profile from a file or URL.

Flags

ParameterTypeMeaningDefault
--namestringProfile name""
--pathstringPath or URL to profile file""

Example

derand local-profile import --name "imported-profile" --path "profile.json"

local-profile install

Install a local profile (compile/build required components).

Flags

ParameterTypeMeaningDefault
--namestringLocal profile name""
--reinstallboolRequire re-install even if file already existsfalse

Example

derand local-profile install --name "my-profile"

local-profile verify

Verify smart contract of the verifier associated with a local profile.

This check verifies contract bytecode integrity only.

Flags

ParameterTypeMeaningDefault
--namestringLocal profile name""
--addressstringVerify with another address, if success, set this address as verifier""
--deploy-txstringDeployment transaction of the above address""

Example

derand local-profile verify --name "my-profile"