{"repo":"komputing/kethabi","free":true,"listed":false,"github":"https://github.com/komputing/kethabi","clone":"git clone https://github.com/komputing/kethabi.git","description":"Kotlin Ethereum ABI code bindings","language":"Kotlin","stars":11,"topics":["kotlin","ethereum","abi","codegen"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"What is it? ----------- This is a gradle plugin to generate Kotlin bindings for Ethereum contracts. How to use it? -------------- To use it you must have kethabi in your buildscript classpath: And then apply the plugin: Now kethabi will look into the src/main/abi folder for .abi files (optionally accompanied by a .config file). It will then generate code based on these abi files. If the abi file starts with an underscore ( ) the classes will be marked as internal. The filename will determine the classname (if not changed via the config file). The package name will be generated from the path the abi file is in. E.g. if the file is in src/main/abi/org/foo/contracts then the package name will be org.foo.contracts . It will generate 3 classes: transaction generator a class that uses RPC to be able directly call functions of the contract transaction detector to check if a given transaction is a function call for the given contract function Under the hood -------------- It uses the KEthereum module abi codegen which itself uses KotlinPoet to generate the code. Example usages -------------- Görli pusher multiple modules in KEthereum - e.g. the ERC20 one","default_branch":null,"files":null,"tree":[],"storefront":"/r/komputing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/komputing/kethabi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}