{"id":13728316,"url":"https://github.com/synesso/scala-stellar-sdk","last_synced_at":"2026-01-14T02:37:57.005Z","repository":{"id":28758132,"uuid":"116639844","full_name":"Synesso/scala-stellar-sdk","owner":"Synesso","description":"Scala SDK for the Stellar network","archived":true,"fork":false,"pushed_at":"2023-03-24T20:10:31.000Z","size":8919,"stargazers_count":22,"open_issues_count":49,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-04T02:07:59.715Z","etag":null,"topics":["blockchain","cryptocurrency","scala","stellar","stellar-network"],"latest_commit_sha":null,"homepage":"https://synesso.github.io/scala-stellar-sdk","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Synesso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-08T06:40:30.000Z","updated_at":"2023-04-13T22:23:04.000Z","dependencies_parsed_at":"2023-01-14T09:30:56.599Z","dependency_job_id":null,"html_url":"https://github.com/Synesso/scala-stellar-sdk","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synesso%2Fscala-stellar-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synesso%2Fscala-stellar-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synesso%2Fscala-stellar-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synesso%2Fscala-stellar-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Synesso","download_url":"https://codeload.github.com/Synesso/scala-stellar-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224679903,"owners_count":17351888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cryptocurrency","scala","stellar","stellar-network"],"created_at":"2024-08-03T02:00:40.388Z","updated_at":"2026-01-14T02:37:56.959Z","avatar_url":"https://github.com/Synesso.png","language":"Scala","funding_links":[],"categories":["Developer Resources","开发者资源"],"sub_categories":[],"readme":"# [Stellar SDK for Scala](https://synesso.github.io/scala-stellar-sdk/)\n\n[![Build](https://github.com/Synesso/scala-stellar-sdk/workflows/Build/badge.svg?branch=master)](https://github.com/Synesso/scala-stellar-sdk/actions/workflows/scala.yml)\n[![Coverage](https://img.shields.io/codecov/c/gh/Synesso/scala-stellar-sdk.svg)](https://codecov.io/gh/Synesso/scala-stellar-sdk)\n[![Issues](https://img.shields.io/github/issues/Synesso/scala-stellar-sdk.svg)](https://github.com/Synesso/scala-stellar-sdk/issues)\n![Supports Stellar Horizon v2.6.1](https://img.shields.io/badge/Horizon-v2.6.1-blue.svg)\n![Supports Stellar Core v17](https://img.shields.io/badge/Core-v17-blue.svg)\n[![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-brightgreen.svg?style=flat\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org)\n\n*November 2021: This project is no longer actively maintained.*\n\n----\n\nWith the Stellar SDK for Scala, you can perform [Stellar](https://stellar.org/) operations from your Scala application. It provides the ability to access Stellar networks via any Horizon instance to build and submit transactions, query the state of the network and stream updates. You'll like this SDK, because it provides a more natural API for Scala developers than the official Java SDK.\n\nYou can do what you like with this software, as long as you include the required notices. See the [licence](https://github.com/Synesso/scala-stellar-sdk/blob/master/LICENSE) for more details.\n\n## Getting Started\n\nAdd the JitPack \u0026 jcenter resolvers and the [latest dependency](https://jitpack.io/#Synesso/scala-stellar-sdk) to your build tool. Here's how it might look in `build.sbt`\n\n```scala\nresolvers += \"jitpack\" at \"https://jitpack.io\"\nresolvers += Resolver.jcenterRepo\nlibraryDependencies += \"com.github.synesso\" %% \"scala-stellar-sdk\" % \"0.21.1\"\n```\n\nFrom there, it is a simple affair to create and fund a new account on the test network.\n\n```scala\nimport stellar.sdk._\nimport scala.concurrent.ExecutionContext.Implicits.global\nval kp = KeyPair.random\nval response = TestNetwork.fund(kp)\n```\nYou can try this right now [in your browser](https://scastie.scala-lang.org/ekyYbw9lS3GSnIkrbN2ozw).\n\nHere's the code necessary to fetch an account's sequence number and submit a payment operation to the network.\n\n```scala\nimplicit val network = TestNetwork\nfor {\n  sourceAccount \u003c- network.account(payerKeyPair)\n  response \u003c- model.Transaction(sourceAccount, timeBounds = TimeBounds.Unbounded, maxFee = lumens(100))\n    .add(PaymentOperation(payeePublicKey, Amount.lumens(5000)))\n    .sign(payerKeyPair)\n    .submit()\n} yield response\n```\n\nPlease see the full [SDK documentation](https://synesso.github.io/scala-stellar-sdk) for further examples and full API details.\n\n\n## Getting Help\n\nThere are a few ways to get help using this SDK.\n\n1. Post your question to the [Stellar StackExchange](https://stellar.stackexchange.com/) and tag it with `scala-sdk`.\n2. Ask in the #dev_discussion channel in [Keybase](https://keybase.io/team/stellar.public).\n3. Raise an issue on [this repository in GitHub](https://github.com/Synesso/scala-stellar-sdk/issues).\n\n\n## Contributing\n\nIf you'd like to contribute new ideas, bug fixes or help to build out a planned feature, please take a look at the [current open issues](https://github.com/Synesso/scala-stellar-sdk/issues), or join the [gitter channel](https://gitter.im/scala-stellar-sdk/community) to discuss your thoughts.\n\nTo get started developing on the SDK itself, see the [DEV](https://github.com/Synesso/scala-stellar-sdk/blob/master/DEV.md) notes.\n\n## Ack\n\n_Thanks to the [Stellar Development Foundation](https://www.stellar.org/about/) for their ongoing support.\n\n[![JetBrains](https://github.com/JetBrains/logos/blob/master/web/intellij-idea/intellij-idea.svg?sanitize=true)](https://www.jetbrains.com/?from=ScalaStellarSDK)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynesso%2Fscala-stellar-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynesso%2Fscala-stellar-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynesso%2Fscala-stellar-sdk/lists"}