Clear Developer Guide
  • Clear Developer Guide
  • Deploy Contract
    • Quick start
    • Configure Contract
    • Contract Upgrade
    • Contract Address
  • Configure contract parameters
    • Configure Contract Parameters
  • Interact with the contract
    • OPTION
      • Market Maker
      • User
    • NOTE
      • Fund Manager
      • LP User
  • Contract reference
    • Oracle
    • Index Contract
    • Option Contract
    • Market Maker Contract
    • Note Contract
  • APIs
    • Configure
    • Price
    • User
    • Market Maker
    • Index
    • Option parameter configuration
    • Faucet
Powered by GitBook
On this page
  • Configure Contract
  • 1.Configure node and private key
  1. Deploy Contract

Configure Contract

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.jsonin each directory.

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:

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

PreviousQuick startNextContract Upgrade

Last updated 3 years ago