Transform wallets between distributed type and non-deterministic type.
Binaries for the latest version of dkc
can be obtained from the releases page.
dkc
can be built locally using the command
go build .
dkc
uses herumi/bls-eth-go-binary. Some research code of using herumi/bls-eth-go-binary in dkc
is available here
You can also test dkc
on predefiened inputs here.
An example config can be found here
distributed-wallets: #Distributed-wallets section
path: ./wallet #Path to distributed wallet (Default: None)
passphrases: ./passphrases.txt #Path to file containing passphrases for unlocking/locking accounts (Default: None)
threshold: 2 #Threshlod value (Default: None)
peers: #Peers dict, number of peers must be greater than threshold value (Default: None)
10: old1:9091
20: old2:9091
30: old3:9091
nd-wallets: #Non-determenistic-wallets section
path: ND_WALLETS #Path to non-determenistic wallet (Default: None)
passphrases: ./passphrases.txt #Path to file containing passphrases for unlocking/locking accounts (Default: None)
log-level: debug #Log-level (Default: INFO)
Combine distributed type to non-deterministic type.
./dkc combine --config=config.yaml
Split non-deterministic type to distributed type
./dkc split --config=config.yaml
Sergey Yakovlev: @selfuryon.
SpontaneousOverthrow: @SpontaneousOverthrow.
Contributions welcome. Please check out the issues.