Store metadata with createrawsendfrom while using external wallet address(createkeypairs)

+1 vote

Hello Multichain team,

I'm having issue while adding metadata with createrawsendfrom command.
Here i have two external wallet address which i have created using createkeypairs.

Now, when i'm trying to send some assets from one external wallet address to another with some metadata it always throw unable to parse json data error.

I've also tried with another approach like i have crated one rawtransaction with send asset functionality & then try to add metadata using appendrawdata command.

Here it allows me to add metadata and return hex as output but when i try to sign that hash using signtransaction command it will return false. May be because i'm initiating send asset using external address(key pair) which is not my node address.

Could you please provide any example for how to set metadata with createrawsendfrom command then it would be helpful for me.

Even if there are other way to do the same then also indicate those ways.

Thanks in advance.

asked Mar 27, 2020 by Nikunj Dhameliya
Please post the series of commands you are using in multichain-cli and we'll tell you where it's going wrong.
Actually i have resolved this issue by setting up runtime parameter lockinlinemetadata to false.
After that it allow me to carry some extra information with transaction.
Thanks.

1 Answer

+1 vote
 
Best answer
OK, thanks for letting us know it's solved.
answered Apr 4, 2020 by MultiChain
selected Mar 8, 2022 by Nikunj Dhameliya
...