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

Lifi: Add Solana support #328

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Lifi: Add Solana support #328

merged 2 commits into from
Jun 24, 2024

Conversation

peachbits
Copy link
Contributor

@peachbits peachbits commented Jun 14, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

EdgeApp/edge-currency-accountbased#785

Description

none

@peachbits peachbits marked this pull request as draft June 17, 2024 00:44
@@ -133,7 +140,7 @@ const asEstimate = asObject({
// feeCosts: asArray(asFeeCost)
})

const asTransactionRequest = asObject({
const asTransactionReques = asObject({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asTransactionReques is a bad name.

@@ -319,6 +325,51 @@ export function makeLifiPlugin(opts: EdgeCorePluginOptions): EdgeSwapPlugin {
let preTx: EdgeTransaction | undefined
let spendInfo: EdgeSpendInfo
switch (fromWallet.currencyInfo.pluginId) {
case 'solana': {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. We don't do token approvals on Solana, so this has to be pretty different.

@peachbits peachbits marked this pull request as ready for review June 24, 2024 23:18
@peachbits peachbits merged commit 397713a into master Jun 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants