UNPKG

vasku

Version:

TVM-Solidity contract development framework

17 lines (16 loc) 671 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.showGiverSendForm = void 0; const giver_1 = require("../actions/giver"); const enquirer_1 = require("./enquirer"); async function showGiverSendForm(config, network) { const options = await new enquirer_1.Form({ message: 'Send coins', choices: [ { name: 'to', message: 'To', initial: '0:0000000000000000000000000000000000000000000000000000000000000000' }, { name: 'value', message: 'Value', initial: '0.001' } ] }).run(); await (0, giver_1.giverSend)(config, network, options); } exports.showGiverSendForm = showGiverSendForm;