Anoma.Client.Examples.EProxy (Anoma v0.32.0)
I contain examples for the GRPC proxy.
The proxy is started, and if necessary, a node is started too.
I then test each public API of the proxy to ensure it works as expected.
Summary
Functions
I ask the node to return its list of intents via the proxy.
I add a transaction to the client.
I ask the node to return its list of intents via the proxy.
Functions
Link to this function
add_intent(client \\ setup())
@spec add_intent(Anoma.Client.Examples.EClient.t()) :: Anoma.Client.Examples.EClient.t()
I ask the node to return its list of intents via the proxy.
Link to this function
add_transaction(client \\ setup())
@spec add_transaction(Anoma.Client.Examples.EClient.t()) :: Anoma.Client.Examples.EClient.t()
I add a transaction to the client.
Link to this function
list_intents(client \\ setup())
@spec list_intents(Anoma.Client.Examples.EClient.t()) :: {Anoma.Client.Examples.EClient.t(), any()}
I ask the node to return its list of intents via the proxy.
Link to this function
setup()
@spec setup() :: Anoma.Client.Examples.EClient.t()