Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AppHelpTemplate is help template for expo AppHelpTemplate = `` /* 488-byte string literal not displayed */ )
View Source
var ContractSolidityTemplate = `// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
contract {{.Name}} {
constructor() {}
}`
ContractSolidityTemplate is template for contract creation
Functions ¶
func PromptSelect ¶
PromptSelect will send user select option
Types ¶
type Compiler ¶
type Compiler struct { Version string `json:"version"` Optimize bool `json:"optimize"` Runs string `json:"runs"` }
Compiler struct for configuration
type Config ¶
type Config struct { Name string `json:"name"` Networks interface{} `json:"networks"` Compiler Compiler `json:"compiler"` }
Config struct for configuration
type DeployConfig ¶
type DeployConfig struct { ContractName string `json:"contractName"` Input []interface{} `json:"input"` }
DeployConfig is config for deployment
Click to show internal directories.
Click to hide internal directories.