UNPKG

vasku

Version:

TVM-Solidity contract development framework

16 lines (13 loc) 544 B
import { giverSend } from '../actions/giver' import { Form } from './enquirer' import { type VaskuConfig } from '../config/types' export async function showGiverSendForm (config: VaskuConfig, network: string): Promise<void> { const options = await new Form({ message: 'Send coins', choices: [ { name: 'to', message: 'To', initial: '0:0000000000000000000000000000000000000000000000000000000000000000' }, { name: 'value', message: 'Value', initial: '0.001' } ] }).run() await giverSend(config, network, options) }