/bivrost-kotlin

🔥 🌈 Bridge between Solidity Contracts and Kotlin

Primary LanguageKotlinApache License 2.0Apache-2.0

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