Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txInvokeScript returns false - still not working #7

Closed
LuisaFraub opened this issue Aug 17, 2019 · 2 comments
Closed

txInvokeScript returns false - still not working #7

LuisaFraub opened this issue Aug 17, 2019 · 2 comments

Comments

@LuisaFraub
Copy link

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...

@deemru
Copy link
Owner

deemru commented Aug 17, 2019

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.

@LuisaFraub
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants