You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
473 B

import { deployTONB, deposit, withdraw, getTONB } from "../utils/interactions";
import { wallet_data, client } from '../utils/config';
import { randomAddress, TON } from '../utils/helpers';
import { toNano } from 'ton';
(async () => {
let {my_wallet, secretKey} = await wallet_data();
let tonb_addr = await deployTONB();
// await deposit(my_wallet, secretKey, toNano('0.6'), tonb_addr);
await withdraw(my_wallet, secretKey, 0.45 * TON(), tonb_addr);
})();