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(sbtc): enroll contract call #212

Merged
merged 1 commit into from
Dec 18, 2024
Merged

feat(sbtc): enroll contract call #212

merged 1 commit into from
Dec 18, 2024

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Dec 17, 2024

Running into same issue as we've seen with Ledger, though the tx does actually broadcast

Edit; this is fixed, though I still see NaN values on the final review screen. A slight improvement at least, PR coming extension side.

image

@kyranjamie kyranjamie force-pushed the feat/enroll-contract-call branch from 5388506 to f3e151c Compare December 17, 2024 11:43
Copy link

cloudflare-workers-and-pages bot commented Dec 17, 2024

Deploying lockstacks with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6a67006
Status: ✅  Deploy successful!
Preview URL: https://a5918aaa.lockstacks.pages.dev
Branch Preview URL: https://feat-enroll-contract-call.lockstacks.pages.dev

View logs

@kyranjamie kyranjamie force-pushed the feat/enroll-contract-call branch 3 times, most recently from 7c4deaa to 2fb207c Compare December 17, 2024 18:33
@kyranjamie
Copy link
Collaborator Author

UI when the user is enrolled already:

image

return useMemo(
() => ({
get enrollmentStatus() {
// TODO: investigate how to find enrollment state, read contract?
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't that useEnrolledStatus ?

step={2}
disabled={!isSignedIn}
disabled={!isSignedIn || enrolledQuery?.isEnrolled}
Copy link
Contributor

Choose a reason for hiding this comment

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

If they are enrolled should we link out to bitcoinismore so they can see status etc?

@markmhendrickson
Copy link

@kyranjamie is this close to release for today?

@kyranjamie kyranjamie force-pushed the feat/enroll-contract-call branch from 2fb207c to 473ce3b Compare December 18, 2024 11:45
@kyranjamie
Copy link
Collaborator Author

kyranjamie commented Dec 18, 2024

@kyranjamie is this close to release for today?

I need to investigate the address bug screetshot in pr body

@kyranjamie kyranjamie self-assigned this Dec 18, 2024
@kyranjamie kyranjamie marked this pull request as ready for review December 18, 2024 14:20
@camerow
Copy link
Contributor

camerow commented Dec 18, 2024

I can run and debug

@camerow camerow force-pushed the feat/enroll-contract-call branch 2 times, most recently from 99bd2b9 to cb8bd8c Compare December 18, 2024 19:12
@camerow camerow force-pushed the feat/enroll-contract-call branch from cb8bd8c to 6a67006 Compare December 18, 2024 19:24
@camerow camerow merged commit 2243cea into main Dec 18, 2024
4 checks passed
@camerow camerow deleted the feat/enroll-contract-call branch December 18, 2024 20:27
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.

4 participants