14 lines
504 B
TypeScript
14 lines
504 B
TypeScript
|
import { toNano } from '@ton/core';
|
||
|
import { MainBalance } from '../wrappers/MainBalance';
|
||
|
import { compile, NetworkProvider } from '@ton/blueprint';
|
||
|
import contractConfig from '../config/contract.config';
|
||
|
import { getMainBalanceContract } from './utils';
|
||
|
|
||
|
export async function run(provider: NetworkProvider) {
|
||
|
const mainBalance = await getMainBalanceContract(provider);
|
||
|
|
||
|
await mainBalance.sendDeploy(provider.sender(), toNano('0.05'));
|
||
|
|
||
|
await provider.waitForDeploy(mainBalance.address);
|
||
|
}
|