File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ const { abiEvents } = require('../scaffold/schema')
19
19
const Protocol = require ( '../protocols' )
20
20
21
21
const protocolChoices = Array . from ( Protocol . availableProtocols ( ) . keys ( ) )
22
- const ethereumNetworkChoices = Protocol . availableNetworks ( ) . get ( 'ethereum' )
23
22
24
23
const HELP = `
25
24
${ chalk . bold ( 'graph init' ) } [options] [subgraph-name] [directory]
@@ -41,11 +40,18 @@ ${chalk.dim('Choose mode with one of:')}
41
40
42
41
${ chalk . dim ( 'Options for --from-contract:' ) }
43
42
43
+ --contract-name Name of the contract (default: Contract)
44
+ --index-events Index contract events as entities
45
+
46
+ ${ chalk . dim . underline ( 'Ethereum:' ) }
47
+
44
48
--abi <path> Path to the contract ABI (default: download from Etherscan)
45
- --network <${ ethereumNetworkChoices . join ( '|' ) } >
49
+ --network <${ Protocol . availableNetworks ( ) . get ( 'ethereum' ) . join ( '|' ) } >
50
+ Selects the network the contract is deployed to
51
+ ${ chalk . dim . underline ( 'NEAR:' ) }
52
+
53
+ --network <${ Protocol . availableNetworks ( ) . get ( 'near' ) . join ( '|' ) } >
46
54
Selects the network the contract is deployed to
47
- --index-events Index contract events as entities
48
- --contract-name Name of the contract (default: Contract)
49
55
`
50
56
51
57
const processInitForm = async (
You can’t perform that action at this time.
0 commit comments