Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 553 Bytes

migrate-get-staged-code.md

File metadata and controls

27 lines (18 loc) · 553 Bytes
title description sidebar_position
Get staged Cadence 1.0 Contract Code
How to get staged Cadence 1.0 contract code from the command line
5

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.