{"repo":"nervosnetwork/ckb-sdk-java","free":true,"listed":false,"github":"https://github.com/nervosnetwork/ckb-sdk-java","clone":"git clone https://github.com/nervosnetwork/ckb-sdk-java.git","description":"Java SDK for CKB","language":"Java","stars":31,"topics":["nervos","ckb","blockchain","java"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"CKB SDK Java Java SDK for Nervos CKB. Prerequisites Java 8 Gradle 5.0 or later Installation Maven Gradle Build Run gradle build in project root directory. Quick start Here we will give some most frequently used operations, to bring you enlightenment about how to use ckb-sdk-java to operate your asset in CKB chain. Setup ckb-sdk-java provides a convenient client to help you easily interact with CKB node. You can leverage this client to call any RPC APIs provided by CKB in Java code. For more details about CKB RPC APIs, please refer to CKB RPC doc. Build transaction by manual ckb-sdk-java encapsulates the common logic into a user-friendly transaction builder. It could greatly free you from getting into script details and from tedious manual work of building transaction including adding celldeps, transaction fee calculation, change output set and so on. Here is an example to build a CKB transfer transaction with the help of transaction builder and ckb node. For more use cases of building transaction with ckb node, please refer to these examples. Build transaction with Mercury Mercury is an application for better interaction with CKB chain, providing many useful RPC APIs for development like querying transactions or getting UDT asset information. You need to deploy your own mercury server and sync data with the latest network before using it. Mercury is another way to build transaction. With the help of Mercury, you can build a transaction by simply calling a JSON-RPC API. Here w","default_branch":null,"files":null,"tree":[],"storefront":"/r/nervosnetwork","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nervosnetwork/ckb-sdk-java/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."}