// Create transaction const tx = new web3.Transaction({ ...blockhashInfo, });
// console.log(tx)
// Add our hello world program instruction tx.add( new web3.TransactionInstruction({ programId: pg.PROGRAM_ID, keys: [], data: Buffer.from([]), }) ); // Sign transaction tx.sign(pg.wallet.keypair); // Send the transaction to the Solana cluster const txHash = await pg.connection.sendRawTransaction(tx.serialize()); console.log(txHash); // this txHash can view in