Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.04 KB

Open-Source Orbit


How to Run

  1.      Clone the repository
    
  2.      Change directory to client
    

    $ cd smart_contract

  3.      Install dependencies
    

    $ npm install

  4.  Install Metamask and Signin to alchemy.
    
  5.  Create new App under Sepolia network.
    
  6.  Copy its key and paste it in hardhat.config.js file under url.
    
  7.  Get your metamask account private key and paste it in hardhat.config.js file under account.
    
  8.  Deploy the contract
    

    $ npx hardhat run scripts/deploy.js --network Sepolia

  9.  Copy the contract address and paste it in client/utils under constants.js file.
    
  10. Copy account key generated by deploying contract and paste it in client/utils under constants.js file.
    
  11. under smart_contact/artifacts/contracts copy data of Github.json file and paste it under client/utils into Github.json file.
    
  12. Change directory to client
    

    $ cd client

  13. Install dependencies
    

    $ npm install

  14. Run the client
    

    $ npm run dev