X: Test code update

This commit is contained in:
2026-08-05 10:12:38 +02:00
parent 27c161bb6b
commit b2278b12d5
@@ -30,16 +30,15 @@ public class Main {
SolanaBlockChain sbc = new SolanaBlockChainImpl();
JupiterPerpsService jupiter = new AnchorIdlJupiterPerpsServiceImpl(sbc);
ΩSolanaWalletIdΩ walletId = "vj98roDZ7744EBfxyuDFkKpEGCsKQLr7K8UFRumJNHf";
//Set<JupiterPerpsPosition> positions = jupiter.getOpenPositions(walletId);
Set<JupiterPerpsPosition> positions = jupiter.getOpenPositions(walletId);
while(true) {
String addr = "2z2oExdggoRPCcojntHrGbRiDWeJgVSRbasfMbPfprQi";
/*while(true) {
String addr = "31eu4pNE2vb8ErASGoJDHZXvjezhuE2PxjdnuQcCbUv7";
JupiterPerpsPosition pos = jupiter.getPosition(addr);
ΩUSDCAmountΩ a = pos.borrowFeesDue();
}*/
int i = 0;
}
// nenjimHub.awaitShutdown();
nenjimHub.awaitShutdown();
/* try {
log.info("Auto-starting 2 Nenjim application(s)...");