solanaj icon indicating copy to clipboard operation
solanaj copied to clipboard

Solana RPC client written in Java

Results 17 solanaj issues
Sort by recently updated
recently updated
newest added

public ConfirmedTransaction getTransaction(String signature, Commitment commitment) throws RpcException { List params = new ArrayList(); params.add(signature); Map parameterMap = new HashMap(); if (commitment != null) { parameterMap.put("commitment", commitment); //update parameterMap.put("commitment", commitment.getValue());...

When I created the token, I got an error message. The error message is as follows: Program log: Instruction: InitializeMint, Program log: Error: InvalidAccountData, Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1576 of 399850...

It is possible to create a versioned transaction? https://solana.com/docs/advanced/versions#max-supported-transaction-version

v0 + ALT support (WIP)

### 1. Upgrade to Java 21: - Action: Migrate the codebase to Java 21 to access the latest features and improvements. - Benefit: Enhances performance, enables use of modern language...

![image](https://github.com/user-attachments/assets/71e04761-e75a-4030-a4a5-96b6f4fb5053) ![image](https://github.com/user-attachments/assets/13dbc7a1-29af-4aff-a962-5df56da1e746)

Discuss: For Version 2, I'd like to remove the required try-catch'ing of `RpcException`. I've received feedback that it's a bad pattern to catch exceptions as a requirement. I believe changing...