Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 671 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 671 Bytes

Smart contract project

How to deploy smart contract to testnet and run locally?

This project have 3 main part:

1. Smart contract


    // Install package needed
    yarn

    // Deploy to testnet by hardhat script
    yarn deploy:testnet

    // Verify contract by hardhat script
    yarn verify:testnet

2. Backend

    // Move directory to backend folder
    cd backend

    // Install package needed
    yarn

    // Run backend server locally
    yarn start:dev

3. Frontend

    // Move directory to frontend folder
    cd frontend

    // Install package needed
    yarn

    // Run frontend server locally
    yarn dev