Packages
stellar_sdk
0.16.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.16.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: [:hackney, :jason, :logger],
mod: {Stellar.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:stellar_base, "~> 0.12"},
{:ed25519, "~> 1.3"},
{:hackney, "~> 1.17"},
{:jason, "~> 1.0"},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:excoveralls, "~> 0.16", only: :test},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.30", only: :dev, runtime: false}
]
end
defp description do
"""
Elixir SDK for the Stellar network.
"""
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
[
"Building a Transaction": [
Stellar.TxBuild,
Stellar.TxBuild.Spec,
Stellar.TxBuild.Default,
Stellar.TxBuild.AccountMerge,
Stellar.TxBuild.BumpSequence,
Stellar.TxBuild.BeginSponsoringFutureReserves,
Stellar.TxBuild.ChangeTrust,
Stellar.TxBuild.Clawback,
Stellar.TxBuild.ClawbackClaimableBalance,
Stellar.TxBuild.CreateAccount,
Stellar.TxBuild.CreatePassiveSellOffer,
Stellar.TxBuild.EndSponsoringFutureReserves,
Stellar.TxBuild.ManageData,
Stellar.TxBuild.ManageSellOffer,
Stellar.TxBuild.ManageBuyOffer,
Stellar.TxBuild.Payment,
Stellar.TxBuild.PathPaymentStrictSend,
Stellar.TxBuild.PathPaymentStrictReceive,
Stellar.TxBuild.SetOptions
],
"Querying Horizon": [
Stellar.Horizon.Ledgers,
Stellar.Horizon.Transactions,
Stellar.Horizon.Operations,
Stellar.Horizon.Effects,
Stellar.Horizon.Accounts,
Stellar.Horizon.Offers,
Stellar.Horizon.Trades,
Stellar.Horizon.Assets,
Stellar.Horizon.ClaimableBalances,
Stellar.Horizon.LiquidityPools,
Stellar.Horizon.Accounts
],
KeyPairs: [
Stellar.KeyPair,
Stellar.KeyPair.Spec,
Stellar.KeyPair.Default
],
"Horizon Resources": ~r/^Stellar\.Horizon\./,
"TxBuild Resources": ~r/^Stellar\.TxBuild\./,
Utils: Stellar.Network
]
end
defp extras() do
[
"README.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"docs/examples/operations/create_account.md",
"docs/examples/operations/payments.md",
"docs/examples/signatures/hash_x.md",
"docs/examples/signatures/pre_auth_tx.md",
"docs/examples/signatures/ed25519_signed_payload.md",
"docs/README.md": [filename: "examples"]
]
end
defp groups_for_extras do
[
Examples: ~r/docs\/examples\/.?/
]
end
end