{"repo":"Conflux-Chain/go-conflux-sdk","free":true,"listed":false,"github":"https://github.com/Conflux-Chain/go-conflux-sdk","clone":"git clone https://github.com/Conflux-Chain/go-conflux-sdk.git","description":"Conflux Golang API","language":"Go","stars":38,"topics":["conflux","blockchain","golang","conflux-golang-api"],"license":"LGPL-3.0","category":"blockchain-web3","readme_excerpt":"Conflux Golang API The Conflux Golang API allows any Golang client to interact with a local or remote Conflux node based on JSON-RPC 2.0 protocol. With Conflux Golang API, users can easily manage accounts, send transactions, deploy smart contracts, and query blockchain information. Please read the documentation for more. And read the API documentation from here. Install go-conflux-sdk You can also add the Conflux Golang API into the vendor folder. Use go-conflux-sdk Create Client usd sdk.NewClient to creat a client for interact with conflux-rust node, the sdk.ClientOption is for setting Account Manager keystore folder path and retry options. Query RPC Handle Invalid params Errors Conflux Core v3.0.3 usually puts the details of an Invalid params error in the RPC error message . For framework-level parameter errors, Core v3.1.0 and later use the fixed message Invalid params and put the details in data . utils.RpcError.InvalidParamsDetail handles both formats. Convert the error returned by an SDK call with utils.ToRpcError before reading the details, because not every error is an RPC error: Send Transaction Interact With Smart Contract The most simple way to interact with contract is generator contract binding by conflux-abigen , see details from here","default_branch":null,"files":null,"tree":[],"storefront":"/r/Conflux-Chain","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Conflux-Chain/go-conflux-sdk/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."}