Packages
stellar_sdk
0.2.0
0.23.0
0.22.0
0.21.2
0.21.1
0.21.0
0.20.0
0.19.0
0.18.1
0.18.0
0.17.1
0.17.0
0.16.1
0.16.0
0.15.1
0.15.0
0.14.0
0.13.1
0.13.0
0.12.0
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.2
0.10.1
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Elixir SDK for the Stellar network.
Current section
Files
Jump to
Current section
Files
stellar_sdk
mix.exs
mix.exs
defmodule Stellar.MixProject do
use Mix.Project
@github_url "https://github.com/kommitters/stellar_sdk"
@version "0.2.0"
def project do
[
app: :stellar_sdk,
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Elixir Stellar SDK",
description: description(),
source_url: @github_url,
package: package(),
docs: docs(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Stellar.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:stellar_base, "~> 0.3.0"},
{:ed25519, "~> 1.3"},
{:hackney, "~> 1.17", optional: true},
{:jason, "~> 1.0", optional: true},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:excoveralls, "~> 0.14", only: :test},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
defp description do
"""
Elixir library that provides a client for interfacing with Horizon server REST endpoints.
"""
end
defp package do
[
description: description(),
files: ["lib", "config", "mix.exs", "README*", "LICENSE"],
licenses: ["MIT"],
links: %{
"Changelog" => "#{@github_url}/blob/master/CHANGELOG.md",
"GitHub" => @github_url,
"Sponsor" => "https://github.com/sponsors/kommitters"
}
]
end
defp docs do
[
main: "readme",
name: "Elixir Stellar SDK",
source_ref: "v#{@version}",
source_url: @github_url,
canonical: "http://hexdocs.pm/stellar_sdk",
extras: extras(),
groups_for_modules: groups_for_modules(),
groups_for_extras: groups_for_extras()
]
end
defp groups_for_modules do
[
Horizon: ~r/^Stellar\.Horizon\./,
KeyPair: ~r/^Stellar\.KeyPair\./,
TxBuild: ~r/^Stellar\.TxBuild\./
]
end
defp extras() do
[
"README.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"docs/examples.md",
"docs/examples/create_account.md",
"docs/examples/payments.md"
]
end
defp groups_for_extras do
[
Examples: ~r/docs\/examples\/.?/
]
end
end