You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm adding a sui support to our existing nextjs@12 web app.
It crashes at the tx.splitCoins call. It works perfectly in the Vite project by the way.
consttx=newTransactionBlock();const[coin]=tx.splitCoins(tx.gas,[tx.pure(1)]);tx.transferObjects([coin],tx.pure(wallet.address));constresult=awaitwallet.signAndExecuteTransactionBlock({transactionBlock: tx,});console.log({ result });
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I'm adding a sui support to our existing nextjs@12 web app.
It crashes at the
tx.splitCoins
call. It works perfectly in the Vite project by the way.Dependencies are
Beta Was this translation helpful? Give feedback.
All reactions