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
2
votes
1 answer

Problem submitting request to node, retry with new node: BUSY

I am calling a function from a smart contract: ContractCallQuery query = new ContractCallQuery() .setContractId(ContractId.fromString(request.getContractID())) .setGas(100_000_000) …
Acehilm
  • 113
  • 1
  • 7
2
votes
2 answers

Serialise and export the transaction to a base 64 format and use this as the input to the next step

Need to make a scheduled transfer from one account to another and then serialise it to base 64. which reads it in the serialised format and provides the required signature and submit it. I've made a scheduled transfer but not knowing how to make it…
akshai
  • 21
  • 2
2
votes
3 answers

INVALID_SIGNATURE on hedera NFT creation

showing invalid signature in documentation when we create NFT using HTS This is what am using to create the signature want to create NFT using HTS HEDERA TOKEN SERVICES
2
votes
1 answer

Does connecting HashPack wallet mean the application can read my private key?

When we connect our HashPack wallet, does it mean I allowed the application to read my private key? I think it is not necessary to read the private key of my wallet to log in.
2
votes
1 answer

Invalid Private length Issue

throw new _BadKeyError.default(`invalid private key length: ${data.length} bytes`); getting this error while setting up test environment const { Client } = require("@hashgraph/sdk"); require("dotenv").config(); async function main() { //Grab…
2
votes
1 answer

ERROR_DECODING_BYTESTRING Error When Deploying Contract On Hedera

I am trying to deploy a contract on Hedera; the file is 9766 bytes, so I created a file and appended the contract to it, but now I get the error "exceptional receipt status: ERROR_DECODING_BYTESTRING: error retrieving contract creation record". I…
mev
  • 177
  • 5
2
votes
1 answer

How to convert Seed to the PrivateKey?

I'm developing a Hedera Wallet for Flutter, and I need to convert the mnemonic to the private key. I use the bip39 to convert the mnemonic to seed. But how can I convert the seed to the PrivateKey?
Hossein Yousefpour
  • 3,827
  • 3
  • 23
  • 35
2
votes
2 answers

Hedera-sdk-py Smart Contract Deployment and Querying

I am creating a DApp on the Hedera Blockchain using Hedera-sdk-py, a python wrapper of Hedera SDK in Java. I want to create a smart contract, deploy and query it, but I can not seem to understand the stateful.json file in the documentation…
2
votes
2 answers

How to get an exchange rate between USD and HBAR for use in Hedera application or smart contract?

How can my smart contract or application access USD/HBAR exchange rate info from a file on the Hedera network (Hedera File Service)? The file I'm interested in is 0.0.112. I tried doing a query with the SDK from my application and it seems to get me…
FungalFury
  • 23
  • 3
2
votes
2 answers

CONTRACT_REVERT_EXECUTED Hedera Smart Contract

CONTRACT_REVERT_EXECUTED Not sure what I'm doing wrong but I'm trying to call a function and it takes in one parameter and I made sure it was correct but it still reverts. This is hedera-hashgraph using HederaTokenService. Smart Contract: pragma…
Yasuo
  • 31
  • 3
2
votes
1 answer

Where does one access events that are emitted from a solidity contract, either via a node or a mirror?

How can I get emitted events from a solidity smart contract on the Hedera Network? My best guess is via ContractFunctionResult.
cisc0
  • 106
  • 8
2
votes
1 answer

Minting NFTs on Hedera returns MAX_NFTS_IN_PRICE_REGIME_HAVE_BEEN_MINTED

I have been trying to mint an NFT using the native TokenMintTransaction() function, but it keeps returning the MAX_NFTS_IN_PRICE_REGIME_HAVE_BEEN_MINTED error. Since the documentation is terrible I have a hard time finding out what the error…
Nal Luksic
  • 175
  • 6
2
votes
3 answers

Generating a random number from smart contract using Hedera Hashgraph

How to securely generate a random number on a smart contract using solidity from Hedera? I've been searching for an answer for a while now and looks like most of them recommend the use of Chainlink VRF? I'm still new to this but on my limited…
2
votes
1 answer

Can I use smart contracts on the Hedera network?

Does the Hedera Hashgraph Network support smart contracts, and is it possible to migrate smart contracts to Hedera?
Ed Marquez
  • 488
  • 1
  • 10
1
vote
0 answers

How far into the future can a transaction be scheduled with `scheduled transaction`

in the documentation about the scheduled transaction there is no mention as to the limit (if any) to the value of the expirationTime parameter. I have two questions: what is the maximum value for the expirationTime? is there a way to have the…
Micha Roon
  • 3,957
  • 2
  • 30
  • 48
1 2
3
8 9