deemru/WavesKit

txInvokeScript returns false - still not working

Closed this issue · 2 comments

I tried with the fix #6 , but nothing has change: may I try something else? there's a way to get exactly the answer from Waves? Probably there's something wrong with my code...

This code works on WavesKit 1.0.12:

$wk = new WavesKit( 'T' );
$wk->setSeed( "" );
$args = [
    'eee',
    '{"titolo":"eee","descrizione":"ytutyuty","allegato":""}'
];
$tx = $wk->txInvokeScript( '3MsJAaF5QnFSPWt1FbTYg2rZEYGE89zL9xm', "addItem", $args, null, [ "fee" => 900000 ] );
$tx = $wk->txSign( $tx );
$tx = $wk->txBroadcast( $tx );

If you still have problems, feel free to ask.

thank you, now it works fine! Definitely there was an error in my code ;-)