ClearDAO FAQ
  • Getting Started
    • How it Works
    • Product
    • Roadmap
    • Team
    • ClearDAO Token
    • ClearDAO Token Bridge
    • Contact
  • Development Resources
    • SDK
      • ClearDAO Developer Guide
      • Deploy Contracts
        • Options and Notes
          • Quick Start
          • Configure Contract
          • Contract Upgrade
          • Contract Address
        • TRS
      • Configure Contract Parameters
      • Interact With Contracts
        • Options
        • Notes
        • TRS
        • CDS
          • README
          • CDS Buyer
          • Challenger
          • Liquidity Provider
          • Ticket
          • Ticket Market
          • Ticket Sale
          • Seller
      • Contract Reference
        • Oracle
        • Index Contract
        • Option Contract
        • Market Maker Contract
        • Note Contract
      • APIs
        • CDS
          • Config
          • Ticket
          • Ticket Sale
          • Transaction
          • CDS Market
          • Issue CDS
          • CDS Category
          • Ticket Market
        • Options and Notes
          • Configure
          • Price
          • User
          • Index
          • Option Parameter Configuration
          • Faucet
          • Market Maker
        • TRS
        • CLEARIndex
    • Barrier Options
    • NFT Marketplace
    • ClearIndex
  • Governance
    • CLH Staking Module
Powered by GitBook
On this page
  1. Development Resources
  2. SDK
  3. Deploy Contracts
  4. Options and Notes

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 1 year ago