https://github.com/5afe/svalinn-kotlin
🛡️❄️️ Kotlin libraries for Ethereum based Android development
https://github.com/5afe/svalinn-kotlin
android blockies ethereum kotlin-library mnemonic signing
Last synced: 11 months ago
JSON representation
🛡️❄️️ Kotlin libraries for Ethereum based Android development
- Host: GitHub
- URL: https://github.com/5afe/svalinn-kotlin
- Owner: 5afe
- License: mit
- Created: 2018-02-26T13:08:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-29T13:52:18.000Z (almost 3 years ago)
- Last Synced: 2025-04-14T02:48:26.260Z (about 1 year ago)
- Topics: android, blockies, ethereum, kotlin-library, mnemonic, signing
- Language: Kotlin
- Homepage:
- Size: 396 KB
- Stars: 30
- Watchers: 10
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: security/build.gradle
Awesome Lists containing this project
README
# Svalinn Android
[](https://jitpack.io/#gnosis/svalinn-kotlin)
[](https://travis-ci.org/gnosis/svalinn-kotlin)
[](https://codecov.io/gh/gnosis/svalinn-kotlin)
🛡️❄️️ Kotlin libraries for Ethereum based Android development
**WARNING: Under development. Libraries right now target the Rinkeby test network. Switching to mainnet (or any other ethereum network) can be done by the user but it's its responsibility in doing so.**
### Goal
This is a collection of libraries that should make development of apps that interact with Ethereum easier. **Some functionality should be moved to [Kethereum](https://github.com/walleth/kethereum)**
### Download
Follow instructions on https://jitpack.io/#gnosis/svalinn-kotlin
In your Gradle file:
**Accounts Module**
Main repository to create an account and load active accounts and to sign data with those accounts.
Two main implementations are available:
`accounts-kethereum` - which uses some of the utilities of the Kethereum project to manage accounts.
```
implementation 'com.github.gnosis:svalinn-kotlin:accounts-kethereum:'
```
`accounts-geth` - which uses [go-ethereum](https://github.com/ethereum/go-ethereum) to manage/create/sign transactions.
```
implementation 'com.github.gnosis:svalinn-kotlin:accounts-geth:'
```
**Android Common Module**
This module has Android specific utilities that we use in our mobile applications. We are in the process of refactoring and abstracting this module even more.
```
implementation 'com.github.gnosis:svalinn-kotlin:android-common:'
```
**Blockies Module**
Provides the Ethereum Blockies implementation. Also contains an Android `ImageView` so it can be used easily in Android applications.
```
implementation 'com.github.gnosis:svalinn-kotlin:blockies:'
```
**Crypto Module**
Crypto specific module for key generation, signing and hashing.
```
implementation 'com.github.gnosis:svalinn-kotlin:crypto:'
```
**Ethereum Modules**
Modules for easy interaction with the Ethereum blockchain
[More info](ethereum/README.md)
```
implementation 'com.github.gnosis:svalinn-kotlin:ethereum:'
implementation 'com.github.gnosis:svalinn-kotlin:ethereum-rpc:'
implementation 'com.github.gnosis:svalinn-kotlin:ethereum-rpc-retrofit:'
```
**Mnemonic Module**
Implementation of BIP39 for mnemonic phrase generation. Words need to be provided by the user in the core module by implementing the `WordListProvider` interface.
```
implementation 'com.github.gnosis:svalinn-kotlin:mnemonic:'
```
If you wish to use BIP39 on Android you only need to include the `mnemonic-android` module which already provides the English and Chinese word lists via Resources.raw.
```
implementation 'com.github.gnosis:svalinn-kotlin:mnemonic-android:'
```
**Models Module**
Our internal model for representing entities in Ethereum and Android.
```
implementation 'com.github.gnosis:svalinn-kotlin:models:'
```
**Security Module**
Android utils to encrypt/decrypt data and manage app security features such as unlocked status.
```
implementation 'com.github.gnosis:svalinn-kotlin:security:'
```
**Ticker Module**
Our fiat conversion module.
```
implementation 'com.github.gnosis:svalinn-kotlin:ticker:'
```
**Utils Module**
General utilities that we use across our apps.
```
implementation 'com.github.gnosis:svalinn-kotlin:utils:'
```
**Utils Testing Module**
General utilities for testing our apps.
```
implementation 'com.github.gnosis:svalinn-kotlin:utils-testing:'
```