Skip to content

Implement declare-deploy command in cast #3606

@cptartur

Description

@cptartur

Current State

Currently you need to declare and deploy the contract each time something changes in it. Each time it requires first declaring contracts by their names and then deploying by their class hashes.

Objective

Desing and implement flow simplyfing declaring and deploying for testing

Additional Context

There are multiple approaches we could take

  1. Restart the effort to implement sncast declare-deploy command that wraps declaration and deployment into a single step. This would make deployment for testings bit less cumbersome.
  2. Introduce a functionality strictly for declaring and deploying contracts on devnet that would work in a more automatic manner.

Metadata

Metadata

Assignees

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions