Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Revert "CORE-1942 Regenerate IMX API Client" #431

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions examples/getProjects.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Config, ImmutableX } from '@imtbl/core-sdk';
import { generateWalletConnection } from './libs/walletConnection';

(async () => {
try {
const client = new ImmutableX(Config.SANDBOX);
const wallet = await generateWalletConnection('sepolia');
const pageSize = 200;
const projects = await client.getProjects(wallet.ethSigner, pageSize);

console.log('projects', projects);
} catch (err) {
console.error(err);
process.exit(1);
}
})();
Loading
Loading