Anoma.Client.Examples.EProxy (Anoma v0.29.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 ask the node to return its list of intents via the proxy.
I ask the node to return its list of intents via the proxy.
I ask the node to return its list of intents via the proxy.
I ask the node to return its list of intents via the proxy.
Functions
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.
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.
list_nullifiers(client \\ setup())
@spec list_nullifiers(Anoma.Client.Examples.EClient.t()) :: {Anoma.Client.Examples.EClient.t(), [any()]}
I ask the node to return its list of intents via the proxy.
list_unrevealed_commits(client \\ setup())
@spec list_unrevealed_commits(Anoma.Client.Examples.EClient.t()) :: {Anoma.Client.Examples.EClient.t(), [any()]}
I ask the node to return its list of intents via the proxy.
list_unspent_resources(client \\ setup())
@spec list_unspent_resources(Anoma.Client.Examples.EClient.t()) :: {Anoma.Client.Examples.EClient.t(), [any()]}
I ask the node to return its list of intents via the proxy.
setup()
@spec setup() :: Anoma.Client.Examples.EClient.t()