Skip to main content

Questions tagged [java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

How to deserialize a transaction hex to a readable object(or a json object) with Java language

Assuming I have a serialized transaction in hexadecimal, how can I deserialize it in Java?
Kevin's user avatar
  • 1
1 vote
1 answer

Multiple SPL Token Balance with one request

To get the balance of a specific token from a wallet, I use getTokenAccountsByOwner, but this is giving the balance for only one token, and I need to request for more than one token. I was wondering ...
KunLun's user avatar
  • 113
1 vote
1 answer

Unable to find devnet logs for errored programs with Java client

I am unable to find logs of failed solana program invocation (on devnet) when I invoke the program with Java solana client(this solanaj library). However, when I invoke the same program using @solana/...
SnoopyMe's user avatar
  • 111
4 votes
3 answers

Deploying Solana onchain programs In Java

Can we create onchain programs in Java Programming Language In Solana? I have been studying about it and saw Rust, C and C++ languages. Can we do it in Java?
Anuj's user avatar
  • 207
2 votes
1 answer

How to verify a signature from the Phantom wallet?

I am able to sign a message on the client side using something like this: const encodedMessage = new TextEncoder().encode("some message"); const signedMessage = await provider.signMessage(...
Sasha Shpota's user avatar