Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: xishon on July 17, 2017, 03:54:33 PM



Title: Bitcore Send Functionality is not working
Post by: xishon on July 17, 2017, 03:54:33 PM
Hello everyone I am using bitcore and for accessing wallet functionality I am following the

https://blog.bitpay.com/announcing-the-bitcore-wallet-suite/
 (https://blog.bitpay.com/announcing-the-bitcore-wallet-suite/)

tutorial. Every thing is working except transactions. When I run the transaction command It gives me the following error

## Error: Invalid amount

I am running the following command

wallet -f error@gmail.com.dat send 1M1zDPHTMWprG4EN6oUYS8cEG8bb5G5Szu 100bit


Title: Re: Bitcore Send Functionality is not working
Post by: HCP on July 20, 2017, 01:24:14 PM
according to the BitCore GitHub (https://github.com/bitpay/bitcore-wallet#quick-guide), the format for the send command is:

Quote
wallet send 1xxxxx 1000bit "1000 bits to mother"

Why are you using the -f command? Looking at the "send" code... The argument list is fixed: https://github.com/bitpay/bitcore-wallet/blob/master/bin/wallet-send

Quote
amount = utils.parseAmount(args[1]);
Fairly sure you shouldn't be using -f to specify wallet....