View Source Aptos.Account (Aptos v0.2.4)

Link to this section Summary

Functions

Generates a new account

Signs some data with a private key

Link to this section Functions

@spec new() :: %{
  address: String.t(),
  auth_key: binary(),
  private_key: binary(),
  public_key: binary()
}

Generates a new account

@spec sign(any(), binary()) :: binary()

Signs some data with a private key