Library to bridge ECP wallet to Denkhaus Golang Bitshares library
Pierluigi Maori 0fdaf2644d initial commit 1 year ago
Gopkg.lock initial commit 1 year ago
Gopkg.toml initial commit 1 year ago
README.md initial commit 1 year ago
client.go initial commit 1 year ago
default.go initial commit 1 year ago
raw_data.go initial commit 1 year ago

README.md

Go-Prosume : The Golang Wrapper for Prosume project

Overview

This library aims to wrap all Prosume-ecp functions into a brand new Go library to interact with the prosume blockchain.

Powered on top of bitshares/graphene, It will require the bitshare go wrapper to work.

Warning

The goprosume-ecp package is a freezed version of scorum/go-bitshare edited inside the vendor directory. DO NOT UPDATE IT.

Usage

This library comes out with two modes:

  • Package mode : use a global instance provided by the package for a more semantic programming
  • Instance mode : use a custom instance for better control
import (
    prosume "mangrovia.solutions/goprosume"
)

// package mode
prosume.Setup(...)
bal, err := prosume.GetBalance()

// instance mode
instance, err := NewClient(...)
bal2, err := instance.GetBalance()

Testing

go test

And that’s it.

Authors and contributors

Contributing

To contribute to this project, you must build it first.

$> dep ensure
$> go build 

Branching rules

We follow Github Branching Model and Naming Conventions.