-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
60 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Getting Started | ||
--- | ||
|
||
To install Kryptokrona SDK into your Maven/Gradle project we need to include the dependency: | ||
|
||
**Maven** | ||
```xml | ||
<dependency> | ||
<groupId>org.kryptokrona.sdk</groupId> | ||
<artifactId>kryptokrona-core</artifactId> | ||
<version>0.1.0</version> | ||
<scope>implementation</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.kryptokrona.sdk</groupId> | ||
<artifactId>kryptokrona-http</artifactId> | ||
<version>0.1.0</version> | ||
<scope>implementation</scope> | ||
</dependency> | ||
``` | ||
|
||
**Gradle** | ||
```gradle | ||
dependencies { | ||
implementation 'org.kryptokrona.sdk:kryptokrona-core:0.1.0' | ||
implementation 'org.kryptokrona.sdk:kryptokrona-http:0.1.0' | ||
} | ||
``` | ||
|
||
**Gradle Kotlin DSL** | ||
```kotlin | ||
dependencies { | ||
implementation("org.kryptokrona.sdk:kryptokrona-core:0.1.0") | ||
implementation("org.kryptokrona.sdk:kryptokrona-http:0.1.0") | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: How To Use Kryptokrona SDK | ||
--- | ||
|
||
A simple example of how to retrive blocks: | ||
|
||
```kotlin | ||
fun main(args: Array<String>) = runBlocking { | ||
val node = Node("privacymine.net", 11898, false) | ||
val blockClient = BlockClient(node) | ||
|
||
blockClient.getBlocks().let { | ||
println("Blocks: ${it?.blocks?.size}") | ||
} | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# 🧰 Kryptokrona SDK | ||
# 🧰 Kryptokrona SDK | ||
|
||
Kryptokrona SDK for Kotlin is currently the most fully featured implementation of the Kryptokrona Network protocols and includes many useful components and tools for building decentralized private communication and payment systems. |
This file was deleted.
Oops, something went wrong.