Skip to main content

derand

init

Initialize DeRand CLI configuration.

derand init

This command sets up the initial configuration for the DeRand CLI tool on your system.


info

Get current DeRand deployment information.

derand info

Displays information about the currently deployed DeRand smart contracts and their status.


verify

Verify that DeRand smart contracts are correctly deployed.

This verification checks bytecode integrity only and does not validate cryptographic correctness of the protocol.

derand verify

deploy

Deploy smart contracts.

Flags

ParameterTypeMeaningDefault
--derandboolDeploy DeRand contractfalse
--derand-treasury-addressstringDeRand treasury address""
--derand-treasury-targetstringDeRand treasury target"0"
--hash-to-prime-128boolDeploy HashToPrime128 contractfalse

Example

derand deploy --derand --derand-treasury-target 20 --hash-to-prime-128

cleanup

Cleanup configuration.

derand cleanup

This command removes or resets DeRand CLI configuration files.