Configure Contract
1.Configure node and private key
Enter the script directory, there are already arbitrum, bsc, kovan and other networks, and there areenv.json
,contracts.json
in each directory.
env.json
parameter definition:
env.json
parameter definition:rpc
: blockchain node address gasLimit
:gas limit for transaction network
:name of network chainID
:network id contractDeployer
:private key of contract issuer
contracts.json
parameter definition:
contracts.json
parameter definition:proxyManager
:contract upgrade manager address sign
:signer address devAddr
:developer address platform
: platform manager address invest
:pledge, loan investment address
After the parameters are configured, runnode ace all --network={NETWORK}
After the script runs, the contract address will be saved incontracts.json
Last updated