Anoma.Client.Examples.EClient.Intents (Anoma v0.34.0)
I contain functions to test the public interface of the client.
I show how to use the intents endpoint.
Summary
Functions
I add an intent to the client.
I return an example intent in base64 encoded jammed format.
I list the intents over grpc on the client.
I add an intent to the client.
Functions
@spec add_intent(Anoma.Client.Examples.EClient.t()) :: {Anoma.Client.Examples.EClient.t(), String.t()}
I add an intent to the client.
@spec example_intent() :: String.t()
I return an example intent in base64 encoded jammed format.
@spec list_intents_empty() :: Anoma.Client.Examples.EClient.t()
I list the intents over grpc on the client.
This test requires an empty node, so it creates a new node and client.
@spec list_intents_not_empty(Anoma.Client.Examples.EClient.t()) :: Anoma.Client.Examples.EClient.t()
I add an intent to the client.