related to question : http://www.multichain.com/qa/3808/how-to-manage-multiple-wallets-on-one-multichaind-instance
Hi,
I followed the answer mentioned in the url above.
1. created an address using createkeypairs.
{
"address" : "1bU5YY7XzWmv1nWDcu2vD8E62Fm1vEuvRhi7oj",
"pubkey" : "xxxx",
"privkey" : "xxxxxxxxxxxxxxxxxxxxxxx"
}
2. issued an asset ( after granting receive permission)
issue 1bU5YY7XzWmv1nWDcu2vD8E62Fm1vEuvRhi7oj '{"name":"USD","open":true}' 10000
3. did an importaddress in the node cli
3. tried to create a hex using createrawsendfrom to node address ("1KrYSvP8FksRb76XFAu1MbucUYihirehfTNhxY") from the command line
Following is the error:
$ multichain-cli tfchain createrawsendfrom 1bU5YY7XzWmv1nWDcu2vD8E62Fm1vEuvRhi7oj '{"1KrYSvP8FksRb76XFAu1MbucUYihirehfTNhxY":{"USD":100}}'
{"method":"createrawsendfrom","params":["1bU5YY7XzWmv1nWDcu2vD8E62Fm1vEuvRhi7oj",{"1KrYSvP8FksRb76XFAu1MbucUYihirehfTNhxY":{"USD":100}}],"id":1,"chain_name":"tfchain"}
error code: -4
error message:
Insufficient funds
--====================
what could be the issue, i dont have any native currency enabled. ( I tried the same after issuing same asset to node address still no luck.
meanwhile I did the same inside the cli by generating address using getnewaddress command and issuing same asset.
The createrawsend , signrawtransaction and sendrawtransaction worked and the asset was transferred.
whats missing for the external "non-wallet address" created using the createkeypairs command. ?
please advise.
thanks