Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.95 KB

File metadata and controls

31 lines (22 loc) · 1.95 KB

CreateMpcProjectRequest

Properties

Name Type Description Notes
name str The project name.
participants int The number of key share holders in the project. Notes: 1. Currently, the available Threshold Signature Schemes (TSS) are 2-2, 2-3, and 3-3 schemes (in the "threshold - participants" format), so you can only set `participants` to 2 or 3. 2. `threshold` must be less than or equal to `participants`.
threshold int The number of key share holders required to sign an operation in the project. Notes: 1. Currently, the available Threshold Signature Schemes (TSS) are 2-2, 2-3, and 3-3 schemes (in the "threshold - participants" format), so you can only set `threshold` to 2 or 3. 2. `threshold` must be less than or equal to `participants`.

Example

from cobo_waas2.models.create_mpc_project_request import CreateMpcProjectRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateMpcProjectRequest from a JSON string
create_mpc_project_request_instance = CreateMpcProjectRequest.from_json(json)
# print the JSON string representation of the object
print(CreateMpcProjectRequest.to_json())

# convert the object into a dict
create_mpc_project_request_dict = create_mpc_project_request_instance.to_dict()
# create an instance of CreateMpcProjectRequest from a dict
create_mpc_project_request_from_dict = CreateMpcProjectRequest.from_dict(create_mpc_project_request_dict)

[Back to Model list] [Back to API list] [Back to README]