Skip to main content

deploy

Function deploy 

Source
pub async fn deploy<W>(
    wallet: W,
    params: DeployParams,
) -> Result<MarketsConfigOutput>
where W: Account + ViewOnlyAccount + Clone + 'static,
Expand description

Deploy (or upgrade) the full set of O2 contracts.

The wallet type W must implement Account + Clone + Signer (e.g. fuels::prelude::WalletUnlocked or the KMS-backed O2Wallet from the API).