Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.82 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.82 KB

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.1.0</version>
</dependency>

Gradle:

implementation("org.stellar:wallet-sdk:1.1.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