A peer-to-peer network for implementing Threshold Signature Scheme (TSS), for ECDSA and EDDSA.
(Eventually) Implements the tss-lib to generate keys, sign messages, and regenerate keys.
make all
- Enabled logging by executing this in shell
export IPFS_LOGGING=debug
- Setup multiple nodes, with different repos and ports
go run ./... -port=4001 -repo="$HOME/.fetenode-0"
go run ./... -port=4002 -repo="$HOME/.fetenode-1"
go run ./... -port=4003 -repo="$HOME/.fetenode-2"
- Note the peer address of each peer, and write them to
$HOME/.peers.cfg
, one per line - Restart all nodes, adding a flag for peer discovery
go run ./... -port=4001 -repo="$HOME/.fetenode-0" -peer-list="$HOME/.peers.cfg"
- Check JSON RPC endpoint
curl -v localhost:4001/rpc
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"message_sign","params":["sign this"],"id":67}' localhost:5000/rpc