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

Mobile: sending Solana #15533

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Mobile: sending Solana #15533

wants to merge 3 commits into from

Conversation

vytick
Copy link
Contributor

@vytick vytick commented Nov 22, 2024

Enables sending Solana and tokens including basic error handling for failed send. No custom fees are allowed (same as desktop).

d0c54f2 remove duplicate txn sending for solana
90458cd set minFee and maxFee for solana for working send form validation
5e5a100 make send for Solana work including base handling of failed txn

Related Issue

Resolve #15497

Screenshots:

happy path:

happy_path.mp4

unhappy path:

unhappy_path.mp4

Copy link

github-actions bot commented Nov 22, 2024

🚀 Expo preview is ready!

  • Project → trezor-suite-preview
  • Platforms → android, ios
  • Scheme → trezorsuitelite
  • Runtime Version → 11
  • More info

Learn more about 𝝠 Expo Github Action

@trezor trezor deleted a comment from github-actions bot Nov 22, 2024
@vytick vytick added connect Connect API related (ie. fee calculation) mobile Suite Lite issues and PRs solana labels Nov 22, 2024
@vytick vytick marked this pull request as ready for review November 22, 2024 22:03
minFee: -1, // unused
maxFee: -1, // unused
minFee: 25000,
maxFee: 1000000000,
Copy link
Contributor

Choose a reason for hiding this comment

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

how come that suite didn't need this? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is probably no validation on this. And the fees are determined automatically by fetching the on chain data

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, good with me 👍

Copy link
Contributor

@PeKne PeKne left a comment

Choose a reason for hiding this comment

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

If I get to the state of timeouted transaction once, I am unable the send any other SOL transaction again. It always resolves in the timeout error. Only that helps is restart of the app. There is probably something rotting in the redux state.

Zaznam.obrazovky.2024-11-25.v.12.39.36.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect Connect API related (ie. fee calculation) mobile Suite Lite issues and PRs solana
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send Solana + Tokens
3 participants