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

Does Hedera apply a token association fee when an account is configured for automatic token association?

I have a question about Hedera token associations. I understand that there's a token association fee for manually associating tokens with an account, but I'm unsure if this fee is also applied when the account is configured for automatic token…
Acehilm
  • 113
  • 1
  • 7
0
votes
1 answer

Can a contract on Hedera Hashgraph be written to allow the contract owner to pay gas fees for Token Association?

I am working on a project where I'd like to create a smart contract on the Hedera Hashgraph network and do stuff with associations. I have a specific requirement that I'm not sure is possible, and I would appreciate your guidance on this. My goal is…
Acehilm
  • 113
  • 1
  • 7
0
votes
1 answer

When should I use setQueryPayment() for query a smart contract?

I have a question regarding the call of a smart contract function, I saw that I can specify a setQueryPayment() when I'm using ContractCallQuery(). I would like to know when I need to use the setQueryPayment() when I'm doing a ContractCallQuery() on…
0
votes
1 answer

Brave Browser Error: TransportOpenUserCancelled: Access denied to use Ledger device

I'm facing the following issue: Brave Browser Error: TransportOpenUserCancelled: Access denied to use Ledger device Does anyone have any suggestions on how to resolve this? Would this be a ledger issue or a Brave browser issue to speak to?
msl
  • 3
  • 3
0
votes
1 answer

How to access the public key from a Key object in Hedera?

I need to set a public key for my multisignature but I'm unsure how to access the public key from a Key object in my frontend code? I tried converting the object but couldn't get the public key?
0
votes
1 answer

Is it required to set the mirror network when sending queries using the Hedera SDK?

When using the Hedera SDK, like the Hedera JavaScript SDK, do you need to set the mirror network address when sending queries to a mirror node's API? I tried setting: client.setMirrorNetwork("mainnet-public.mirrornode.hedera.com:443") but I'm…
0
votes
0 answers

How to transfer multiple NFTs in one transaction using `addApprovedNftTransfer` using the Hedera SDK

I couldn't find any tutorials relating to the following on the Hedera docs as I was scanning through the pages - is there any sample code on how to transfer multiple NFTs in one transaction using addApprovedNftTransfer (Hedera SDK)?
msl
  • 3
  • 3
0
votes
1 answer

Hedera - Token Service - Smart Contract ERC721 NFT - How do I get my contract to show in token associations?

I am trying to understand a bit more about the use of ERC721 contracts on Hedera and how they work with the Hedera Token Service (HTS). If I use this contract ERC721Mock.sol, would the tokens I created show up in the Token Associations…
EmmBee
  • 114
  • 5
0
votes
1 answer

Hedera Token Service/NFT - Is there a limit to how many NFT tokens can be created?

I have a question about minting NFTs on Hedera. Is there a limit to the number of NFTs that can be created? For example, if I want to create 300,000 NFTs on one token ID. Is that possible?
EmmBee
  • 114
  • 5
0
votes
1 answer

Hedera Mirror Node - Filter configuration for multiple accounts

I am trying to setup a mirror node (hedera-mirror-node) and specifically set some filters for a few accounts I want to track. I am trying to restrict the mirror node to only include a specific set of accounts [accountA, accountB, accountC] and all…
EmmBee
  • 114
  • 5
0
votes
0 answers

Hedera HTS NFT Creation Error - Creating NFT from solidity contract error: CONTRACT_REVERT_EXECUTED

I have been following through the HTS documentation for create and transfer an NFT using a solidity contract here When I try create the NFT via my smart contract it fails with the error: CONTRACT_REVERT_EXECUTED Any ideas on whats wrong? I have the…
EmmBee
  • 114
  • 5
0
votes
1 answer

How do I send HBAR to an Account on Hedera?

I've been trying to send hbar to an account and I get this error, what am I doing wrong? await new TransferTransaction() .addHbarTransfer(AccountId.fromString("0.0.XXXXXXXX"), new Hbar(1)) .execute(client); But it fails with this…
EmmBee
  • 114
  • 5
0
votes
0 answers

TypeError: Cannot read properties of undefined (reading '0') while I set up my own hedera local network

My setting is like below This is my code const { Client, PrivateKey, Hbar, AccountId, AccountCreateTransaction, } = require("@hashgraph/sdk"); async function main() { //Create your local client const node =…
YJ C
  • 1
  • 1
0
votes
1 answer

Get Array of structs from custom smart contract deployed on Hedera

Suppose I have a solidity contract deployed at address X in Hedera testnet. I want to call a function from the contract deployed at contract X a get function that returns an array of structs...how do I decode that array of structs? (I am using…
Tahlil
  • 1,031
  • 1
  • 14
  • 26
0
votes
1 answer

What is the difference between ledger accounts and non ledger accounts in hedera hashpack wellets

Tried to connect my hashpack wallet with a hedera based NFT maeketplace and I have encountered this error. "No available wallets - Ledger accounts are unable to be used with HashConnect. Please create a non-ledger account." what exactly mean by a…
1 2 3
8 9