Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: handle shapeshift fees for jupiter and rate balance check #8267

Merged
merged 10 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/chain-adapters/src/solana/SolanaChainAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ export class ChainAdapter implements IChainAdapter<KnownChainIds.SolanaMainnet>
return this.chainId
}

getConnection(): Connection {
return this.connection
}

getBIP44Params({ accountNumber }: GetBIP44ParamsInput): BIP44Params {
if (accountNumber < 0) throw new Error('accountNumber must be >= 0')
return { ...ChainAdapter.defaultBIP44Params, accountNumber }
Expand Down
1 change: 1 addition & 0 deletions packages/swapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dev": "yarn run -T tsc --build --watch"
},
"dependencies": {
"@coral-xyz/anchor": "0.29.0",
NeOMakinG marked this conversation as resolved.
Show resolved Hide resolved
"@shapeshiftoss/caip": "workspace:^",
"@shapeshiftoss/chain-adapters": "workspace:^",
"@shapeshiftoss/types": "workspace:^",
Expand Down
Loading