@@ -92,7 +92,7 @@ def new_wallet(network, version, threshold, tag, signers, account):
9292 )
9393 click .secho (f"CaravanProxy deployed: { van .address } " , fg = "green" )
9494
95- if network .is_local :
95+ if network .is_dev :
9696 return # NOTE: Do not track emphemeral wallets
9797
9898 elif (wallet_file := USER_CONFIG_DIR / f"{ van .address } .json" ).exists ():
@@ -514,7 +514,7 @@ def factory(network: "NetworkAPI", account: "AccountAPI"):
514514 factory = PackageType .FACTORY .deploy (sender = account )
515515
516516 except AccountsError as e :
517- if not network .is_local :
517+ if not network .is_dev :
518518 raise click .UsageError (
519519 "CreateX (https://createx.rocks) is not available on this chain."
520520 ) from e
@@ -529,7 +529,7 @@ def factory(network: "NetworkAPI", account: "AccountAPI"):
529529 f"{ factory .contract_type .name } deployed to { factory .address } " , fg = "green"
530530 )
531531
532- if network .explorer :
532+ if not network . is_dev and network .explorer :
533533 click .secho (f"Publishing to { network .explorer .name } " , fg = "green" )
534534 try :
535535 network .explorer .publish_contract (factory )
@@ -547,7 +547,7 @@ def singleton(network: "NetworkAPI", version: Version, account: "AccountAPI"):
547547 singleton = PackageType .SINGLETON .deploy (version = version , sender = account )
548548
549549 except AccountsError as e :
550- if not network .is_local :
550+ if not network .is_dev :
551551 raise click .UsageError (
552552 "CreateX (https://createx.rocks) is not available on this chain."
553553 ) from e
@@ -564,7 +564,7 @@ def singleton(network: "NetworkAPI", version: Version, account: "AccountAPI"):
564564 fg = "green" ,
565565 )
566566
567- if network .explorer :
567+ if not network . is_dev and network .explorer :
568568 click .secho (f"Publishing to { network .explorer .name } " , fg = "green" )
569569 try :
570570 network .explorer .publish_contract (singleton )
0 commit comments