Bitcoin Forum
May 02, 2024, 03:56:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcore Send Functionality is not working  (Read 323 times)
xishon (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
July 17, 2017, 03:54:33 PM
 #1

Hello everyone I am using bitcore and for accessing wallet functionality I am following the

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
1714622196
Hero Member
*
Offline Offline

Posts: 1714622196

View Profile Personal Message (Offline)

Ignore
1714622196
Reply with quote  #2

1714622196
Report to moderator
1714622196
Hero Member
*
Offline Offline

Posts: 1714622196

View Profile Personal Message (Offline)

Ignore
1714622196
Reply with quote  #2

1714622196
Report to moderator
1714622196
Hero Member
*
Offline Offline

Posts: 1714622196

View Profile Personal Message (Offline)

Ignore
1714622196
Reply with quote  #2

1714622196
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714622196
Hero Member
*
Offline Offline

Posts: 1714622196

View Profile Personal Message (Offline)

Ignore
1714622196
Reply with quote  #2

1714622196
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
July 20, 2017, 01:24:14 PM
 #2

according to the BitCore GitHub, 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....

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!