How to use the command line wallet_transfer_to_address?

Started by xiangxn, December 25, 2014, 02:52:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xiangxn

Quote from: toast on December 25, 2014, 04:07:32 AM
That looks like an account key, not an address. To transfer to an account key you can wallet_add_contact_account temp-name DVS...

wo~~~,thanks
Please vote for my witness: xn-delegate
My wallet:[url="https://btsgo.net/"]https://btsgo.net/[/url]

toast

That looks like an account key, not an address. To transfer to an account key you can wallet_add_contact_account temp-name DVS...
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

xiangxn

#1
How to use the command line wallet_transfer_to_address?

>>> wallet_transfer_to_address 10 DVS dvsxn DVS54FgKSGHt8QrCzstCiT5ScBittMVUsiqtMVDDWKrmfKGp29wJe

10 assert_exception: Assert Exception
v.size() <= sizeof( fc::ripemd160 ) + 4: all addresses are less than 24 bytes
    {}
    th_a  address.cpp:55 bts::blockchain::address::is_valid
invalid address 'DVS54FgKSGHt8QrCzstCiT5ScBittMVUsiqtMVDDWKrmfKGp29wJe'
    {"a":"DVS54FgKSGHt8QrCzstCiT5ScBittMVUsiqtMVDDWKrmfKGp29wJe"}
    th_a  address.cpp:59 bts::blockchain::address::is_valid
Error parsing argument 4 of command "wallet_transfer_to_address": [{"context":{"
level":"error","file":"address.cpp","line":55,"method":"bts::blockchain::address
::is_valid","hostname":"","thread_name":"th_a","timestamp":"2014-12-25T02:52:52"
},"format":"v.size() <= sizeof( fc::ripemd160 ) + 4: all addresses are less than
24 bytes","data":{}},{"context":{"level":"warn","file":"address.cpp","line":59,
"method":"bts::blockchain::address::is_valid","hostname":"","thread_name":"th_a"
,"timestamp":"2014-12-25T02:52:52"},"format":"invalid address '${a}'","data":{"a
":"DVS54FgKSGHt8QrCzstCiT5ScBittMVUsiqtMVDDWKrmfKGp29wJe"}}]
    {"argument_number":4,"command":"wallet_transfer_to_address","detail":[{"cont
ext":{"level":"error","file":"address.cpp","line":55,"method":"bts::blockchain::
address::is_valid","hostname":"","thread_name":"th_a","timestamp":"2014-12-25T02
:52:52"},"format":"v.size() <= sizeof( fc::ripemd160 ) + 4: all addresses are le
ss than 24 bytes","data":{}},{"context":{"level":"warn","file":"address.cpp","li
ne":59,"method":"bts::blockchain::address::is_valid","hostname":"","thread_name"
:"th_a","timestamp":"2014-12-25T02:52:52"},"format":"invalid address '${a}'","da
ta":{"a":"DVS54FgKSGHt8QrCzstCiT5ScBittMVUsiqtMVDDWKrmfKGp29wJe"}}]}
    th_a  cli.cpp:462 bts::cli::detail::cli_impl::parse_argument_of_known_type
Please vote for my witness: xn-delegate
My wallet:[url="https://btsgo.net/"]https://btsgo.net/[/url]