Questions tagged [hedera-hashgraph]

Questions related to development on Hedera Hashgraph distributed ledger

Hedera () is an open-source, Distributed Ledger Technology that includes services for EVM-compatible smart contracts, file service, consensus service, token service, and a schedule service. Check out "What is Hedera?" for a an overview, and docs.hedera.com for developer documentation.

Hedera uses its own Hashgraph consensus to secure the network and its transactions, and it is a faster, more energy efficient, and more secure alternative to blockchain consensus mechanisms. Participation as a consensus node is currently permissioned by the Hedera Council, with an intention to transition to a permissionless network in the future.

128 questions
3
votes
1 answer

Hedera Meta/Gasless Transaction

I am working on gasless/meta transactions. Is it possible in hedera to sign the transaction using one account and submit/execute and also pay for the transaction by a different account?
3
votes
1 answer

jnius.JavaException: JVM exception occurred: exceeded maximum

I am creating a DApp on the Hedera Blockchain using Hedera-sdk-py, a python wrapper of Hedera SDK in Java. I keep getting JVM exception occurred: exceeded maximum attempts for request with the last exception being…
mev
  • 177
  • 5
3
votes
2 answers

Transfering ERC-20 in Hedera hashgraph

I'm trying to write function which will be transfer erc-20 tokens in hedera hashgraph. pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract Coins is ERC20 { constructor(string memory name_, string…
3
votes
1 answer

How do I mint multiple NFTs on Hedera calling TokenMintTransaction only once?

I want to mint 100 NFTs. Do I need to call "TokenMintTransaction()" 100 times? Is there some way to mint 100 NFTs in a single API call? Here's the code I'm using: let mintTx = new…
Ed Marquez
  • 488
  • 1
  • 10
3
votes
1 answer

What causes an INVALID_TRANSACTION_START when submitting a transaction to Hedera

I am receiving the following error when I submit a transaction to Hedera: failed precheck with status INVALID_TRANSACTION_START This hasn't happened to me before and I'm confused. Why is this error happening?
Abi
  • 356
  • 2
  • 11
3
votes
1 answer

Getting error "Transaction Oversize" while creating a smart contract in Hedera blockchain

My bin file size is 18kb only. I also get a solution to use IPFS but don't know how to use it. If there is any reference for using IPFS then share me plz. : Error: PrecheckStatusError: transaction 0.0.34898094@1653658245.135892060 failed precheck…
3
votes
1 answer

Hedera Minting DAPP, How to connect wallet

Im coming from the 'other' blockchains and not sure how we would authenticate a Hedera user on a DAPP. Essentially I need to create a minting DAPP. I need the user to connect his wallet, pay using HBAR and get his token. Do I need to use a wallet…
Stefanpt
  • 77
  • 9
2
votes
1 answer

How to Associate/Dissociate an HTS token using Hashgraph JS SDK

I have created a new token on HTS using the JavaScript SDK: // Create an HTS Fungible Token async function createFungibleToken( client, treasuryAccountId, treasuryAccountPrivateKey, ) { // Generate supply key const supplyKeyForFT =…
Abi
  • 356
  • 2
  • 11
2
votes
1 answer

How to check if an account is associated with an HTS token using the Hashgraph JS SDK

Using the SDK, I was able to obtain a “TokenBalanceMap” using the following code: const accountBalance = await new AccountBalanceQuery() .setAccountId(accountId) .setTokenIds([tokenId]) .execute(client); const tokenBalance =…
Abi
  • 356
  • 2
  • 11
2
votes
2 answers

Hedera removes the contract after deployment

I am trying to deploy a contract. I get the contract address without errors. Immediately after deploy, the contract is deleted. Although it is possible to transfer funds to the contract address without errors. What could be the…
2
votes
1 answer

What is a Delegate Contract ID in Hedera

The concept of Delegate Contract ID is touched upon in the documentation but I don't understand it. I was not able to find examples or further explanations. Can someone point me to more details?
Micha Roon
  • 3,957
  • 2
  • 30
  • 48
2
votes
0 answers

Hedera Rust SDK unable to encoded transaction

Hy everyone, I am trying to create freeze TransferTrasnaction using Rust SDK. I now it's still in development process but I was wondering if there is a way. What I want to do is create transaction on one client that will pay fees, freeze transaction…
perkan11
  • 21
  • 2
2
votes
1 answer

Can I control which consensus node I want to submit my transaction to from the client?

I'm using Javascript SDK. Currently it seems random. I'm wanting to submit to a specific node to reduce latency
Defi Girl
  • 186
  • 4
2
votes
1 answer

Large discrepancy in `gasUsed` values in near-identical transactions on Hedera - why?

I have noticed that there is a discrepancy between the amount of gas used by a transaction is almost identical: I'm making a call to a smart contract, with the same parameters twice in a row, and the only difference between the 2 is that I'm setting…
bguiz
  • 27,371
  • 47
  • 154
  • 243
2
votes
1 answer

How to convert a Hedera native address into an EVM address? ​

How can I convert a Hedera-native address to an EVM address (and vice versa)? ​ Let's say I have the following: a Hedera-native account, with an address like 0.0.12345 an EVM account on Hedera, with an address like…
Ryan Arndt
  • 148
  • 5
1
2
3
8 9