Closed LuisaFraub closed 5 years ago
How do you test your code? Node errors goes to echo
. Where is no way to get no answer
.
For your current case, you used too long name for your token, max length = 16.
I'm testing code from a web site written with wordpress and woocommerce. I usually print output using error_log function, and in this way I see no answer :-(
Anyway, I've tried reducing the length of the token and it works fine.
Thank you
Hi, I'm trying to use txIssue method in the following way $wk = new WavesKit( 'T' ); $wk->setSeed( $user_bc_seed ); $confirmations = 1; $sleep = 10; $tokenName = $user_bcalias . '' . strval($order_id); $tokenDescription = 'NFT per ' . $titolo; $tx = $wk->txIssue( $tokenName, $tokenDescription, 1, 0, false ); $tx = $wk->txSign( $tx ); $tx = $wk->txBroadcast( $tx ); $tx = $wk->ensure( $tx, $confirmations, $sleep ); $tokenId = $tx['id'];
the trace for $tx is {"type":3,"version":2,"sender":"3MsJAaF5QnFSPWt1FbTYg2rZEYGE89zL9xm","senderPublicKey":"AuwNnJne9DDzFJMVzgSTvELEvJKcS6sAwa1pYot7NSZc","fee":100000000,"timestamp":1566380070986,"name":"INARTE_PippoPippo_80557","description":"NFT per Prova LUI","quantity":1,"decimals":0,"reissuable":false}
but I get no answer, neither FALSE nor array. What can I try?
Thanks in advance