Skip to content

๐Ÿ”ฅ ๐ŸŒˆ Bridge between Solidity Contracts and Kotlin

License

Notifications You must be signed in to change notification settings

5afe/bivrost-kotlin

Repository files navigation

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