ed-marquez / hedera-example-contract-mint-associate-transfer-hts

9 stars 12 forks source link

getting this error when tried to run this code. #1

Open avikat opened 2 years ago

avikat commented 2 years ago

Hi, Can you please help me with this error

PrecheckStatusError: transaction 0.0.30779036@1645690612.605970342 failed precheck with status INSUFFICIENT_TX_FEE
at new PrecheckStatusError (C:\Users\AnshulGupta\Desktop\hashgraph2\node_modules\@hashgraph\sdk\lib\PrecheckStatusError.cjs:23:5) at TokenCreateTransaction._mapStatusError (C:\Users\AnshulGupta\Desktop\hashgraph2\node_modules\@hashgraph\sdk\lib\transact

ed-marquez commented 2 years ago

This may be introduced by the lines and a change that occurred in the SDK: client.setMaxTransactionFee(new Hbar(0.75)); client.setMaxQueryPayment(new Hbar(0.01));

Try commenting those lines out or deleting them