evt/

directory
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0

README

everiToken API library for Golang

Includes

  1. everitoken Api Client
  2. everiToken Wallet
  3. Processes for posting actions

Basic Usage

Create a configuration and the evt instance

config := evtconfig.New(httpPath)
evtinstance := evt.New(config)
result, err := evtinstance.Api.V1.Chain.GetInfo()

Create a wallet

privateKey, err := ecc.NewRandomPrivateKey()

and to save and load it use (no encryption enforced yet)

privateKey.Save("some_wallet_file")

privateKey, err := ecc.LoadPrivateKey("some_wallet_file")

EVT Actions

Api methods supported (so far...)

Chain
Evt
History

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL