Skip to content

Replace Yoroi account lookup with Blockfrost - #59

Merged
Nebyt merged 3 commits into
mainfrom
feat/blockfrost-account-api
Aug 25, 2026
Merged

Replace Yoroi account lookup with Blockfrost#59
Nebyt merged 3 commits into
mainfrom
feat/blockfrost-account-api

Conversation

@Nebyt

@Nebyt Nebyt commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Switch stake account lookup from Yoroi/Emurgo backends to Blockfrost (/accounts/{stake}).
  • Add a Blockfrost Project ID field on Delegate and Withdraw; Get Account info stays disabled until it is filled.
  • Drop Preview as a selectable network; testnet wallets use preprod.

Test plan

  • Delegate: enter Project ID, fetch account info on mainnet and preprod
  • Withdraw: same Project ID flow; unregistered stake key shows the existing error
  • Preview radio is gone from both cards
  • CI Test workflow is green

Made with Cursor

Nebyt and others added 2 commits August 24, 2026 18:26
Delegation and withdrawal now call Blockfrost with a user-supplied project ID, and Preview is no longer a selectable network.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 96c671d. Configure here.

Comment thread src/components/cards/staking/logic/withdraw.js Outdated
active means delegated, so a registered undelegated key was treated as unregistered.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Nebyt
Nebyt merged commit 859004f into main Aug 25, 2026
5 checks passed
@Nebyt
Nebyt deleted the feat/blockfrost-account-api branch August 25, 2026 08:26
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.

1 participant