This is a client written in golang for using the XUMM API. The API docs can be found here.
The latest version can be installed using go get
:
go get github.com/xyield/xumm-go-client@master
Register your app with the Xumm developer console Set Xumm credentials as environment variables
export XUMM_API_KEY=<key_from_console>
export XUMM_API_SECRET=<secret_from_console>
package main
func main() {
cfg, err := xumm.NewConfig()
if err != nil {
log.Panicln(err)
}
client := client.New(cfg)
pong, err := client.Meta.Ping()
if err != nil {
log.Println(err.Error())
}
// Do something
}
Pre-requisites:
Install pre-commit
Continue to develop all endpoints
Integration testing in pipeline to connect to Xumm API
Ability to use custom logging library
Ability to use a custom client library