hedera-sdk-js icon indicating copy to clipboard operation
hedera-sdk-js copied to clipboard

chore: bump expo version

Open ivaylonikolov7 opened this issue 1 year ago • 3 comments

Description:

Bumps expo version in package.json to latest possible version.

Related issue(s): #2361

Fixes #2361

Notes for reviewer:

Checklist

  • [x] Documented (Code comments, README, etc.)
  • [x] Tested (unit, integration, etc.)

ivaylonikolov7 avatar Jul 09 '24 07:07 ivaylonikolov7

Not sure if this will fix the issue; when creating a server or sending a transaction, the SDK returns a Base64 when invoking execute.(client).

const newAccountTransaction = await new AccountCreateTransaction()
  .setKey(newAccountPublicKey)
  .setInitialBalance(0)
  .freezeWith(client);

  const signedTransaction = await newAccountTransaction.sign(newPrivateKey);
  const response = await signedTransaction.execute(client); <--- error is from here.
  
  Ran it with shims, works on web but once it's on mobile it no longer works.
  The way I have it running now is to setup an express server to run an API directly to the server and execute the script which works flawlessly.  

rubixvi avatar Jul 11 '24 03:07 rubixvi

Hello, @rubixvi. I'd like to ask you additional information if you dont mind. Here's a couple of questions that are gonna help me solve your issues:

  • What's the version of the SDK that you use
  • Which network do you use - Is it testnet, local-node, previewnet?
  • Most importantly - whats the error that executing the transaction throws?
  • If you can please send me the whole snippet including initializing the client, setting up the operator, the import files in your file too would be nice to see. The more info you give us, the faster it will be to fix your problem.

ivaylonikolov7 avatar Jul 12 '24 12:07 ivaylonikolov7