raidenlib

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEthereumAddress

func CreateEthereumAddress(keystorePath string, password string, passwordFileName string) (address string)

CreateEthereumAddress is creating an Ethereum Wallet KeyStore file at keystorepath encrypted by password, saves the password in passwordFileName and returns it's address as string

func FetchRaidenBinary

func FetchRaidenBinary(version string) (err error)

func LoadEthereumAddress

func LoadEthereumAddress(keystorePath string, passwordFileName string) (address string, err error)

LoadEthereumAdress is trying to load the Ethereum Address from the KeyStore file in keystorepath

func SendRequest

func SendRequest(method string, url string, message string, contenttype string) (statuscode int, body string, err error)

func StartRaidenBinary

func StartRaidenBinary(binarypath string, version string, keystorePath string, passwordFile string, address string, ethEndpoint string, listenAddr string) (pid int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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