Documentation ¶
Index ¶
Constants ¶
View Source
const KEYSPATH = "./keystorage/"
Variables ¶
View Source
var ContractsCommands = []cli.Command{ { Name: "contracts", Usage: "interact with contracts", Subcommands: []cli.Command{{ Name: "token", Usage: "for token smart contract", Subcommands: []cli.Command{ { Name: "deploy", Usage: "deploy token smart contract", Action: cmdTokenDeploy, }, { Name: "mint", Usage: "mint tokens that will go to this Relay address", Action: cmdTokenMint, }, { Name: "transfer", Usage: "tranfer tokens to a specified address", Action: cmdTokenTransfer, }, { Name: "info", Usage: "gets ifo about the token stats", Action: cmdTokenInfo, }, { Name: "renunceownership", Usage: "renunce ownership", Action: cmdTokenRenunceOwnership, }, }, }, }, }, }
View Source
var ServerCommands = []cli.Command{ { Name: "init", Aliases: []string{}, Usage: "initialize the database", Action: cmdInit, }, { Name: "start", Aliases: []string{}, Usage: "start the server", Action: cmdStart, }, { Name: "info", Aliases: []string{}, Usage: "get info about the server", Action: cmdInfo, }, }
View Source
var WalletCommands = []cli.Command{ { Name: "wallet", Usage: "create and manage eth wallet", Subcommands: []cli.Command{{ Name: "new", Usage: "create new Keystorage. Args: keystoreId password", Action: cmdWalletNew, }, { Name: "info", Usage: "display info about the current relay wallets", Action: cmdWalletInfo, }}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.