createrawsendfrom an external non-wallet address

+1 vote

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

asked Feb 6, 2017 by sanmadhavan

1 Answer

+1 vote

Thanks, we're aware of this issue, and it will be fixed in the next alpha release of MultiChain. It's also already been fixed in the dev branch of the Github repository.

answered Feb 6, 2017 by MultiChain
Thanks for the info.
...