Versions in this module Expand all Collapse all v0 v0.8.2 Jun 11, 2019 Changes in this version + type Client struct + func New(cfg *config.Config) (*Client, error) + func (c *Client) BlindSignAttributes(pubM []*Curve.BIG, privM []*Curve.BIG) (*coconut.Signature, error) + func (c *Client) BlindSignAttributesGrpc(pubM []*Curve.BIG, privM []*Curve.BIG) (*coconut.Signature, error) + func (c *Client) GetAggregateVerificationKey() (*coconut.VerificationKey, error) + func (c *Client) GetAggregateVerificationKeyGrpc() (*coconut.VerificationKey, error) + func (c *Client) GetCredential(token *token.Token) (*coconut.Signature, error) + func (c *Client) GetCurrentERC20Balance() (uint64, error) + func (c *Client) GetCurrentERC20PendingBalance() (uint64, error) + func (c *Client) GetCurrentNymBalance() (uint64, error) + func (c *Client) GetVerificationKeys(shouldAggregate bool) ([]*coconut.VerificationKey, error) + func (c *Client) GetVerificationKeysGrpc(shouldAggregate bool) ([]*coconut.VerificationKey, error) + func (c *Client) LookUpIssuedCredential(height int64, elGamalPrivateKey *elgamal.PrivateKey, ...) (*coconut.Signature, error) + func (c *Client) SendCredentialsForBlindVerification(pubM []*Curve.BIG, privM []*Curve.BIG, sig *coconut.Signature, addr string, ...) (bool, error) + func (c *Client) SendCredentialsForBlindVerificationGrpc(pubM []*Curve.BIG, privM []*Curve.BIG, sig *coconut.Signature, addr string, ...) (bool, error) + func (c *Client) SendCredentialsForVerification(pubM []*Curve.BIG, sig *coconut.Signature, addr string) (bool, error) + func (c *Client) SendCredentialsForVerificationGrpc(pubM []*Curve.BIG, sig *coconut.Signature, addr string) (bool, error) + func (c *Client) SendToPipeAccount(ctx context.Context, amount int64) error + func (c *Client) SignAttributes(pubM []*Curve.BIG) (*coconut.Signature, error) + func (c *Client) SignAttributesGrpc(pubM []*Curve.BIG) (*coconut.Signature, error) + func (c *Client) SpendCredential(token *token.Token, credential *coconut.Signature, address string, ...) (bool, error) + func (c *Client) SpendCredentialGrpc(token *token.Token, credential *coconut.Signature, providerAddress []byte) error + func (c *Client) Stop()