This adds an EthSignatureVerifier and EthSignatureSigner to channelcore. They implement signatures based on Ethereum addresses and Ethereum message signing, with a private key held locally in memory. As such, they provide a fully self-contained signature scheme without any external dependencies (like an RPC connection to Xaya Core). This is useful of course for channel games running on Ethereum, but also can be useful in general for that reason.
To provide this, we have to add eth-utils as a new dependency for libxayagame (as well as libsecp256k1 which it uses itself). Both of them are light-weight and without complex further dependencies, so this is not a big issue.
This adds an
EthSignatureVerifier
andEthSignatureSigner
tochannelcore
. They implement signatures based on Ethereum addresses and Ethereum message signing, with a private key held locally in memory. As such, they provide a fully self-contained signature scheme without any external dependencies (like an RPC connection to Xaya Core). This is useful of course for channel games running on Ethereum, but also can be useful in general for that reason.To provide this, we have to add
eth-utils
as a new dependency for libxayagame (as well aslibsecp256k1
which it uses itself). Both of them are light-weight and without complex further dependencies, so this is not a big issue.