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 year ago
JSON representation
🔥 🌈 Bridge between Solidity Contracts and Kotlin
- Host: GitHub
- URL: https://github.com/5afe/bivrost-kotlin
- Owner: 5afe
- License: apache-2.0
- Created: 2017-08-21T16:59:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T21:06:36.000Z (about 2 years ago)
- Last Synced: 2025-03-27T16:48:51.443Z (about 1 year ago)
- Topics: abi, ethereum, kotlin-library, solidity, solidity-contracts
- Language: Kotlin
- Homepage:
- Size: 323 KB
- Stars: 31
- Watchers: 5
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
### Bivrost for Kotlin
🔥 🌈 Bridge between Solidity Contracts and Kotlin
[](https://jitpack.io/#gnosis/bivrost-kotlin)
[](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`