rps-project/scripts/1.deployMainBalance.ts

14 lines
504 B
TypeScript
Raw Normal View History

2024-09-10 11:46:05 +03:00
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);
}