EVM Deploy
Overview
Basic Usage
import { createLombardSDK, Chain, AssetId, DeployProtocol } from '@lombard.finance/sdk';
import { config } from './lib/lombard';
const sdk = createLombardSDK(config);
const deploy = sdk.chain.evm.deploy({
sourceChain: Chain.ETHEREUM,
assetIn: AssetId.LBTC,
deploy: {
protocol: DeployProtocol.Veda,
},
});
await deploy.prepare({
amount: '0.1',
});
const result = await deploy.execute();
// result.txHash: '0x...'
Parameters
Deploy Options
Parameter
Type
Required
Description
Deploy Configuration
Parameter
Type
Required
Description
Prepare Parameters
Parameter
Type
Required
Description
Supported Protocols
Status Flow
Last updated