public IActionResult SignTransaction( [FromServices] ICryptoSigner cryptoSigner, SignTransactionRequest request ) { return(Ok(cryptoSigner.SignTransaction(request.Transaction, request.Key))); }
public CryptoSigners() { SystemCryptography = new SystemCryptographyCryptoSignature(); BounceCastle = new BouncyCastleCryptoSignature(); }