Public method for signing a transaction
We are developing a software in .NET for interacting with IC using the EdjCase.ICP.Agent nuget package (https://www.nuget.org/packages/EdjCase.ICP.Agent). Our software basically consists of two components: the server side app (webapi) and the client side app (a console app), that securely holds the private key.
In our flow, the transaction submission process is divided into 4 steps:
- on the server side - prepare the transaction to be signed,
- on the client side - retrieve the (nonsigned) transaction from the server side, sign it and send the signed transaction back to the server-side,
- on the server side - submit the signed transaction to the IC using HTTP.API,
- on the server side - check the status of the transaction.
In the EdjCase.ICP.Agent library, steps 1-3 are performed within a private SendAsync method:
https://github.com/BoomDAO/ICP.NET/blob/93072497d0ea15e1460bb4161c4e39b7066c5851/src/Agent/Agents/HttpAgent.cs#L229.
What we would need to accomplish our flow, is to split this private method into 3 separate public methods:
Can this functionality be added to the EdjCase.ICP.Agent nuget package?