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
418 B

import { deployTONB, deposit, withdraw } from "../utils/interactions";
import { wallet_data } from '../utils/config';
import { randomAddress, TON } from '../utils/helpers';
(async () => {
let {my_wallet, secretKey} = await wallet_data();
let tonb_addr = await deployTONB();
await deposit(my_wallet, secretKey, 1 * TON(), tonb_addr);
await withdraw(my_wallet, secretKey, 0.5 * TON(), tonb_addr);
})();