Skip to main content

Get staged Cadence 1.0 Contract Code

Get the staged contract code from a contract thats been correctly staged.

flow migrate staged_code <contract_name>

Example Usage​

> flow migrate staged_code HelloWorld --network=testnet

Attempts to return the contract code of HelloWorld on the Testnet network.

Arguments​

Contract Name​

  • Name: contract_name
  • Valid Input: Existing contract name in flow.json.