Questions tagged [hashgraph]

41 questions
1
vote
1 answer

How do I send a transaction to HashPack for signing?

I am trying to sign a transaction on the frontend and send the signed bytes to the backend to execute the transaction. However, I am having difficulty signing the transaction. I have a HashConnect pairing with my app, and I have my signer, but I am…
1
vote
2 answers

INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE error when trying to create a token on Hedera via a smart contract

I am encountering an error message INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE while attempting to create a Hedera Token through a smart contract. The function in question is designed to call the HederaTokenService precompile and create a new…
1
vote
1 answer

max attempts of 10 was reached for request with last error being: RECEIPT_NOT_FOUND

I've upgraded my sdk to v2.20.0-beta.4, and I am receiving this error when submitting transactions. I expect the transactions to succeed. They will if I downgrade the sdk to a stable release, so I am guessing this is a bug in beta which happens, but…
Acehilm
  • 113
  • 1
  • 7
1
vote
1 answer

Hedera browser app: Can execute but cannot query contract functions

I am developing a dApp on Hedera where the user connects via Hedera wallet (I am using HashPack for this) and am using the HashConnect library to setup the connection. Deploying a contract through the browser works, executing a function from the…
Hacktisch
  • 1,392
  • 15
  • 33
1
vote
1 answer

I am not be able to transfer NFT using @hashgraph/sdk hedera npm. How to transfer nft using @hashgraph/sdk's in built method?

I am not able to transfer NFT using @hashgraph/SDK hedera npm. How to transfer nft using @hashgraph/SDK's inbuilt method? Also, Nft is already associated with the seller account. Also, I am transferring token which is available in hashpack nft…
1
vote
2 answers

Hedera Invalid Signature

I'm learning to do a minting dApp, it works fine when I mint, associate, transfer... But now when I wanted to add hbarTransfer, I have invalid signature What makes it don't work between this that works : let tokenTransferTx = await new…
Ilyes Makria
  • 83
  • 2
  • 14
1
vote
1 answer

Hedera Transaction Oversize error : TypeError: ContractCreateFlow is not a constructor

The below code throws "Transaction Oversize" error const contractBytecode = fs.readFileSync("TestToken_sol_TestToken.bin"); const fileCreateTx = new FileCreateTransaction() .setContents(contractBytecode) .setKeys([operatorKey]) …
1
vote
1 answer

Getting TRANSACTION_OVERSIZE error when submitting a transaction on the Hedera network

For Hedera File Service (HFS), I read that the file size limit is 1MB but each transaction is only limited to 6Kb. The documentation says that we can use FileAppend to add the additional contents so - Does this mean that if I do want to upload a 1MB…
Ed Marquez
  • 488
  • 1
  • 10
1
vote
1 answer

Has anyone used Hedera Hashgraph? Is it really as fast as 100 ~ 10000/s for transactions?

I have researched some articles and videos as bellow, but want to hear more opinions. https://hedera.com/hh_whitepaper_v2.1-20200815.pdf https://blog.eccouncil.org/hashgraph-vs-blockchain-top-4-differences-you-need-to-know/ this video is saying the…
1
vote
2 answers

How to push transactions dynamically in hashgraph?

How to push transactions dynamically into run method of hash graph? For instance: In the below code, the name is published as a transaction. How to get this value dynamically. If it has to be through socket, which is the best place to initiate the…
Minisha
  • 2,117
  • 2
  • 25
  • 56
0
votes
0 answers

how can I integrate hedara hashgraph and flutter?

I want to create Mobile Dapp . I want to build the front end through dart Flutter . How can I integrate it wiith the Hedara hashgraph? I couldnt find any resource for this online. I could have gone forward with Ethereum or any other blockchain , but…
0
votes
1 answer

I am getting error message SPENDER_DOES_NOT_HAVE_ALLOWANCE while attempting to transfer HTS tokens via a smart contract

I am encountering an error message SPENDER_DOES_NOT_HAVE_ALLOWANCE while attempting to transfer HTS tokens from my wallet using a smart contract. Although I deployed my smart contract some time ago on the network, it appears to be malfunctioning as…
0
votes
1 answer

I am getting an INSUFFICIENT_TX_FEE error when trying to call a Solidity function that mints an HTS token

I have a question regarding an INSUFFICIENT_TX_FEE error that I am getting for the following cases. First, some background: I have a contract that is supposed to act as a treasury. Prior to the security model updates, it would call…
0
votes
1 answer

How do I get the transaction id after I transfer Hbar using the following code?

I am following this tutorial and writing code to send hbar from my account to another account. https://docs.hedera.com/hedera/getting-started/transfer-hbar const sendHbar = await new TransferTransaction() .addHbarTransfer(myAccountId,…
0
votes
1 answer

Is there a way to extend the transaction validity over 180 seconds?

Currently, my strategy involves creating a Transaction object (e.g., TransferTransaction) that is configured to meet the necessary requirements, including specifying the required signatures. Next, I freeze the transaction and add any local…
Pathorn Teng
  • 411
  • 6