/xuper-sdk-go

Xuper-SDK is a powerful tool for the Go developers to access and use public network of XuperChain easily and quickly.

Primary LanguageGoApache License 2.0Apache-2.0

Xuper-SDK XuperUnion Client SDK for Go

This SDK enables Go developers to build solutions that interact with open chain network of XuperUnion.

Getting started

Requirements

  • OS Support: Linux and Mac OS
  • Go 1.12.x or later
  • GCC 4.8.x or later
  • Git

Simple use samples

The first way of use

Xuper-SDK becomes dependency as vendor part, you can use it as your own repository

Get Xuper-SDK example template

git clone https://github.com/xuperchain/xuper-sdk-go-example

cd xuper-sdk-go-example

Run

make
./sample

The second way of use

Get Xuper-SDK

git clone https://github.com/xuperchain/xuper-sdk-go

cd xuper-sdk-go

Run

make
./sample

Document

More detailed and in-depth use of xuper SDK wiki

Contributing to the Xuper-SDK

If you want to contribute to xuper SDK, please read the source code, understand the current technology, and then develop it. After the completion of development, the corresponding test cases shall be supplemented. Initiate pull request.

License

Xuper-SDK software is licensed under Apache License, Version 2.0

Contact us

If you're interested in xuper-SDK, welcome to join us and develop together

XuperUnion go语言的客户端Xuper-SDK

SDK可以使go的开发者更好的与XuperUnion的公开链网络进行交互

Getting started

环境配置

  • 操作系统:支持Linux以及Mac OS
  • 开发语言:Go 1.12.x及以上
  • 编译器:GCC 4.8.x及以上
  • 版本控制工具:Git

使用

第一种使用方式

Xuper-SDK将在使用中作为vendor依赖的一部分去提供,这样你可以在repo中去添加更多的自己的应用场景

克隆Xuper-SDK example template

git clone https://github.com/xuperchain/xuper-sdk-go-example

cd xuper-sdk-go-example

运行

make
./sample

第二种使用方式

克隆Xuper-SDK仓库

git clone https://github.com/xuperchain/xuper-sdk-go

cd xuper-sdk-go

运行

make
./sample

文档

关于Xuper-SDK更详细、更深入的使用方法链接:wiki

如何参与开发Xuper-SDK

如果您想为xuper-sdk-go做贡献 请阅读源代码,了解当前技术之后,进行开发 开发完毕后,补充相应test caset 发起pull request

许可证

Xuper-SDK使用的许可证是Apache License, Version 2.0

联系我们

如果你对Xuper-SDK感兴趣,欢迎加入我们,共同开发