πŸ”₯ 🌈 Bridge between Solidity Contracts and Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci
bivrost-abi-parser
bivrost-gradle-plugin
bivrost-solidity-types-generator
bivrost-solidity-types
bivrost-utils
docs
gradle/wrapper
sample/app
.gitignore
.travis.yml
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Bivrost for Kotlin

πŸ”₯ 🌈 Bridge between Solidity Contracts and Kotlin

Build Status

Include via jitpack

classpath ('com.github.gnosis:bivrost-kotlin:bivrost-gradle-plugin:<version>')
  • Add runtime dependency:
implementation ('com.github.gnosis:abi-kotlin:bivrost-solidity-types:<version>')
  • 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