solanaj
solanaj copied to clipboard
Solana RPC client written in Java
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...
 
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...