Skip to content

JiahuiWho/kotlin-wallet-sdk

 
 

Repository files navigation

Kotlin Wallet SDK javadoc Maven Central

Kotlin Wallet SDK is a library that allows developers to build wallet applications on the Stellar network faster. It utilizes Java Stellar SDK to communicate with a Stellar Horizon server.

Dependency

The library is hosted on the Maven Central. To import wallet-sdk library you need to add following dependencies to your code:

Maven:

<dependency>
  <groupId>org.stellar</groupId>
  <artifactId>wallet-sdk</artifactId>
  <version>1.0.0</version>
</dependency>

Gradle:

implementation("org.stellar:wallet-sdk:1.0.0")

Introduction

Here's a small example creating main wallet class with default configuration connected to testnet network:

  val wallet = Wallet(StellarConfiguration.Testnet)

It should later be re-used across the code, as it has access to various useful children classes. For example, new key pair can be created using it.

  val newKeyPair = wallet.stellar().account().createKeyPair()

Read full wallet guide for more info

You can find auto-generated documentation website on javadoc.io

About

Kotlin Wallet SDK to build Stellar wallets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%