Skip to content

build command #6

@charlesHetterich

Description

@charlesHetterich

Detect and build all contracts (Rust/Solidity) and frontend

For contracts, we currently call out to cdm which can detect & build all rust contracts

  • We want to also support solidity in the same way. We can either
    • update cdm to support Solidity (using hardhat/foundry under-the-hood)
    • Detect solidity vs rust & make calls directly to solidity/foundry from this cli. It might be best to implement at the cdm level so that solidity contracts inherent the benefits of the contract registry
  • It might be best to make a separate issue for adding Solidity support after this issue is completed.

For frontend, we should be flexible to automatically detect a couple of popular frontend building frameworks. For the first pass though, we can assume just vite for example and add others later. The important part is the frontend building functionality is abstracted to make adding other targets easier in the future.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions