Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/5afe/bivrost-kotlin

🔥 🌈 Bridge between Solidity Contracts and Kotlin
https://github.com/5afe/bivrost-kotlin

abi ethereum kotlin-library solidity solidity-contracts

Last synced: about 1 month ago
JSON representation

🔥 🌈 Bridge between Solidity Contracts and Kotlin

Awesome Lists containing this project

README

        

### Bivrost for Kotlin

🔥 🌈 Bridge between Solidity Contracts and Kotlin

[![](https://jitpack.io/v/gnosis/bivrost-kotlin.svg)](https://jitpack.io/#gnosis/bivrost-kotlin)
[![Build Status](https://travis-ci.org/gnosis/bivrost-kotlin.svg?branch=master)](https://travis-ci.org/gnosis/bivrost-kotlin)

#### Include via jitpack

* Add jitpack repository (see https://www.jitpack.io/#gnosis/bivrost-kotlin)

* Add classpath dependency:
```
classpath ('com.github.gnosis.bivrost-kotlin:bivrost-gradle-plugin:')
```

* Add runtime dependency:
```
implementation ('com.github.gnosis.abi-kotlin:bivrost-solidity-types:')
```

* Apply plugin:
```
apply plugin: 'bivrost'
```

* Add abi json to project in `app/abi` folder (see sample app)

#### Setup of Sample App
* Optional: Generate the Solidity types:
- `./gradlew :bivrost-solidity-types-generator:runSolidityTypeGenerator`
* Add library artifacts to local maven:
- `./gradlew :bivrost-utils:uploadArchives`
- `./gradlew :bivrost-solidity-types:uploadArchives`
- `./gradlew :bivrost-abi-parser:uploadArchives`
- `./gradlew :bivrost-gradle-plugin:uploadArchives`

* Uncomment `include ':sample:app'` in the `settings.gradle` to include sample app module.

* Build sample app. This should also generate the class `MultiSigWalletWithDailyLimit`