forked from ten-protocol/go-ten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcli_flags.go
25 lines (18 loc) · 903 Bytes
/
cli_flags.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package contractdeployer
// Flag names and usages.
const (
nodeHostName = "nodeHost"
nodeHostUsage = "The host on which to connect the RPC client"
nodePortName = "nodePort"
nodePortUsage = "The port on which to connect the RPC client"
isL1DeploymentName = "l1Deployment"
isL1DeploymentUsage = "Set to true for L1 contract to deployment (false is deployment to obscuro network, the L2)"
contractNameName = "contractName"
contractNameUsage = "The name of the contract bytecode to be deploy (e.g. `MGMT`/ `ERC20`)"
privateKeyName = "privateKey"
privateKeyUsage = "The private key for the node account"
chainIDName = "chainID"
chainIDUsage = "The ID of the chain (defaults to 777 for L2 deployment and 1337 for L1)"
constructorParamsName = "constructorParams"
constructorParamsUsage = "A comma separated list of strings that will be passed to the deployer. Defaults to empty."
)