Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.29 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.29 KB

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