Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Please add a simple examle shows interacting with sdk!!! check my sample! #73

Open
dexdev36 opened this issue Jun 5, 2023 · 0 comments

Comments

@dexdev36
Copy link

dexdev36 commented Jun 5, 2023

Dear All,

First of all, I really appreciate your work. Thanks for giving us opportunity of using joe sdk.

My problem is as below.

using "yarn add @traderjoe-xyz/sdk @traderjoe-xyz/sdk-v2 ethers" command, I added both sdks as packages but when I create a file called joe.ts and add the code below inside

import {ChainId} from '@traderjoe-xyz/sdk'

const CHAIN_ID = ChainId.AVALANCHE;
console.log(CHAIN_ID);

then when I execute npx tsc joe.ts the terminal stuck (hang). noting happen.

I tried many things. can you show a simple examle that we can interact with your sdk.
this will be really helpful!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant