tonfi-connect/scripts/deploySwapPool.ts
2024-12-08 21:57:35 +03:00

14 lines
450 B
TypeScript

import { toNano } from '@ton/core';
import { SwapPool } from '../wrappers/SwapPool';
import { compile, NetworkProvider } from '@ton/blueprint';
export async function run(provider: NetworkProvider) {
const swapPool = provider.open(SwapPool.createFromConfig({}, await compile('SwapPool')));
await swapPool.sendDeploy(provider.sender(), toNano('0.05'));
await provider.waitForDeploy(swapPool.address);
// run methods on `swapPool`
}