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

add_intent(client \\ setup())

I add an intent to the client.

example_intent()

@spec example_intent() :: String.t()

I return an example intent in base64 encoded jammed format.

list_intents_empty()

@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.

list_intents_not_empty(client \\ setup())

I add an intent to the client.