Skip to content

Commit d243dd1

Browse files
-
1 parent 7a98f4c commit d243dd1

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

tests.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ if (!process.env.JWK) {
99

1010
const JWK: any = JSON.parse(process.env.JWK);
1111
const signer = createDataItemSigner(JWK);
12-
const client = new LiquidOps(signer, {
13-
CU_URL: "https://cu.liquidops.io/",
14-
});
12+
const client = new LiquidOps(signer);
1513

1614
const walletAddress = await ownerToAddress(JWK.n);
1715

@@ -131,11 +129,11 @@ const walletAddress = await ownerToAddress(JWK.n);
131129

132130
//-------------------------------
133131

134-
// const getGlobalPosition = await client.getGlobalPosition({
135-
// walletAddress: 'h037Kd9sfjYn7KyDvzkdqG5LVhry1dkKMj8aOJDq1F8'
136-
// });
132+
const getGlobalPosition = await client.getGlobalPosition({
133+
walletAddress: "enMTr4rGpzcmno1W4RgihNfa2haOIuJoRD6OxSEvdH8",
134+
});
137135

138-
// console.log(formatGlobalPosition(getGlobalPosition));
136+
console.log(formatGlobalPosition(getGlobalPosition));
139137

140138
//-------------------------------
141139

0 commit comments

Comments
 (0)