Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 1.1 KB

File metadata and controls

34 lines (31 loc) · 1.1 KB

WIP! Cosigner

Cosigner is a tool for distributed key generation and signing transactions using tss-lib

Config sample

{
    "server_ws_url": "wss://localhost:8080/connect",
    "server_rest_url": "http://localhost:8080",
    "callback_url": "url_to_verify_before_signing",
    "data_dir_path": "/path/to/data",
    "threshold": 1,
    "parties": [
        {
            "id": "one",
            "key": 90000000,
            "x25519_pub": "0x533f2d3ba78c35fd74efe9a673218b9e2069a1e940445c8c93a5781acfded37f",
            "ed25519_pub": "0x782a5d671f9d2fc9c0965695e27eecd6c0e18b0bfc6269c8395641374203e200",
            "keypairs_file_path": "/path/to/keypair.json",
            "is_local": true,
            "is_signer": true
        },
        {
            "id": "two",
            "key": 90000001,
            "x25519_pub": "0x8e480fc3a7938650c45db896d53a344a24f53c4fce3255a5847fd5bb9b430b16",
            "ed25519_pub": "0xe28a3248503d97ca90c04d4ed15e7f8fea099234ed652b2f43076212a2468558",
            "is_local": false,
            "is_signer": true
        }
    ]
}