Skip to main content

Get staged Cadence 1.0 Contract Code

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


_10
flow migrate staged-code <contract_name>

Example Usage​


_10
> flow migrate staged-code HelloWorld --network=testnet
_10
_10
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.