Questions tagged [hedera-hashgraph]
Questions related to development on Hedera Hashgraph distributed ledger
hedera-hashgraph
151
questions
-1
votes
1
answer
13
views
Can we use Hedera JSON-RPC relay to deploy contracts and make signed transactions?
Got error while deploying smart contract in Hedera Hashgraph using local relay.
Hi, I'm trying to deploy a smart contract in Hedera Hashgraph using web3.js. We are running a JSON RPC relay in an EC2 ...
0
votes
0
answers
20
views
Get signature from HSM
I'd like to use an HSM to sign my Hedera transactions but I get an error. In order to create a repeatable example I tried this
package com.managination;
import com.hedera.hashgraph.sdk.*;
import org....
2
votes
2
answers
87
views
How do I use `PrivateKey` and `PublicKey` from Hedera SDK to encrypt and decrypt data?
I have created several accounts in Hedera,
and have their PrivateKeys and PublicKeys available in the Hedera SDK.
I am able to use these to create signatures on data,
and verify signatures on data, as ...
1
vote
1
answer
39
views
Why does `getRecord()` fail because of a `_logger` related error? (using Hedera SDK)
The following code throws an error when .getReceipt() is invoked.
Note that the transaction itself is successful.
const hcsTopicCreateTx = await new TopicCreateTransaction()
.freezeWith(...
1
vote
2
answers
36
views
How to query the (ordered) account IDs for a set of lazy-created accounts created by a `TransferTransaction` to EVM addresses on Hedera?
I've done the following steps 1 through 3, and figuring out how to complete step 4.
(1) Generate several several EVM addresses (evmAddress*) locally, and those EVM addresses do not have accounts on ...
1
vote
0
answers
38
views
Impossible to send messages to Topic
I'm trying to use the the documentation of Hedera in order to send message to a private topic.
I followed every steps and I don't understand why the simple code of the documentation doesn't work for ...
0
votes
0
answers
63
views
How to subscribe to TopicMessageQuery (Hedera SDK) without a Client instance?
In a DApp, using a Hedera-native wallet (e.g. Hashpack or Blade), I need to subscribe to a TopicMessageQuery. The standard way to do this on a server would be:
const subscription = new ...
1
vote
1
answer
88
views
What causes "URI missing" error in hashconnect, when invoking `hashconnect.openPairingModal()`?
Attempting to connect my DApp to Hashpack, using hashconnect, however, the pairing never seems to trigger.
When I call the connectWallet function in wallet-hashpack.js, I expect this to happen,
but ...
3
votes
1
answer
87
views
How to build browser app that imports Hedera SDK JS?
I'm attempting to build an app that imports @hashgraph/sdk
bun build --outdir ./dist --format 'esm' --target 'browser' ./src/dapp.ts
However, I get the following error:
4 | import { Buffer } from &...
0
votes
0
answers
20
views
Hedera CreateNFTTutorial throws error - "transaction is immutable; it has at least one signature or has been explicitly frozen"
Using IntelliJ IDE, Java project, Maven build config.
I copied the entire code from the Code Check section. It built successfully. On Running it, the following error is thrown: [Output from Console]
...
0
votes
1
answer
92
views
Solidity Smart Contract & Hedera Hashgraph Javascript SDK Integration
I am dealing with an issue with a codebase that was previously working fine, but now it's not working as expected.
Context
The Smart Contract JobPost provides a decentralized platform for job ...
0
votes
0
answers
189
views
When setting up local node for HEDERA, some containers not running, ports are not available
I'm running docker inside visual studio on a window machine. This is the response after I put in command: docker-compose up d. I'm very new to this. I appreciate any helps very much.
time="2024-...
1
vote
0
answers
213
views
I have a problem with HBAR on my Ledger regarding block verification after sending from Hashpack
I sent some HBAR from my Hashpack to a Ledger Nano device. On the Ledger, they are displayed correctly and the balance is updated, but when checking with Hashscan, it shows an error and the block is ...
3
votes
1
answer
143
views
How to fix discrepancy in transaction nonce after Hedera Testnet reset?
Prior to the Testnet reset, the transaction nonce on an EVM account was being picked up correctly.
However, after the Testnet reset, there is a discrepancy:
eth_getTransactionCount(address, 'latest') ...
1
vote
0
answers
187
views
Want to ask about the option to make index components private or public in the ID TOKEN account
With the hedera token ID, can I freely set public or private visibility options for indexes in my account?
For example: I want to publicly display degrees or education as badge tokens, but for some ...