{"repo":"LFDT-web3j/web3j-openapi","free":true,"listed":false,"github":"https://github.com/LFDT-web3j/web3j-openapi","clone":"git clone https://github.com/LFDT-web3j/web3j-openapi.git","description":"OpenAPI compliant service generator for Solidity Smart contracts","language":"Solidity","stars":37,"topics":["openapi","swagger","web3j","solidity","ethereum"],"license":null,"category":"blockchain-web3","readme_excerpt":"Web3j Open API ============== Web3j-OpenAPI is a OpenAPI client and server generator from Solidity smart contracts. it provides a way to interact with the Ethereum blockchain via simple and intuitive HTTP requests, abstracting the coding layer. These interactions can be done using : - Plain HTTP requests - Via the Swagger-UI , which is generated with every project - A client application using the webj3-openapi-client implementation The workflow can be summed in the following steps: - Writing a Solidity smart contract - Generating the corresponding OpenAPI project using Web3j-OpenAPI - Running the generated project as a standalone server - Sending HTTP requests using Swagger-UI , client application or Curl request. Getting started with Web3j-OpenAPI To generate an OpenAPI project using the Web3j-OpenAPI generator, you need to have the Web3j-CLI installed on your machine. It’s easy to do (for Windows instructions head here): Create a Hello World project To create a base OpenAPI project using a Hello World contract, run the following : You can also generate a Web3j-OpenAPI project using the Web3j-OpenAPI-gradle-plugin. Configure the project After having the generated project, you can configure your application with the following environment variables: Run the project If you aren't using the Web3j-CLI you may run the project using the following Gradle target: Then, you should be seeing the server logs. Interact with the project SwaggerUI The easiest way to interact with the gener","default_branch":null,"files":null,"tree":[],"storefront":"/r/LFDT-web3j","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LFDT-web3j/web3j-openapi/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."}