Skip to content

Safe support to claim a hypercert #496

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

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

pheuberger
Copy link
Member

@pheuberger pheuberger commented Mar 25, 2025

First we need to ship the Hypercert SDK PR: hypercerts-org/hypercerts-sdk#39

Then we should ship hypercerts-org/hypercerts-api#281 and use it to test the preview build.

After that we can move this out of draft and ship it too.

Example transaction created using this code: https://app.safe.global/transactions/tx?safe=sep:0x6C622Ca31a755b4A543f1FE1dB26A666A468Fda8&id=multisig_0x6C622Ca31a755b4A543f1FE1dB26A666A468Fda8_0x4ceecae4047d731de541d672b864b5ef930a845df2e79713231f43cbdf974cd8

@pheuberger pheuberger requested a review from Jipperism March 25, 2025 18:21
@pheuberger pheuberger linked an issue Mar 26, 2025 that may be closed by this pull request
@pheuberger pheuberger force-pushed the safe-support-claim-hypercert branch from 611e3ef to 1f3d2c3 Compare April 3, 2025 15:20
Copy link

vercel bot commented Apr 3, 2025

@pheuberger is attempting to deploy a commit to the Hypercerts Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@pheuberger pheuberger marked this pull request as ready for review April 3, 2025 15:20
Copy link

vercel bot commented Apr 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hypercerts-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 8:50pm

Without this patch multisigs that have Hypercerts to be claimed have no
straightforward way of claiming them.

This patch introduces the same patterns as used for minting a Hypercert
from a Safe.
When disconnected the button was showing "Switch chain". Now it shows
"Claim" and only an outline. It's disabled as well until the user
connects their wallet.
In the previous commit 5ca3a2c I missed adding support for batch
claiming hypercerts. This patch adds another set of strategies for this
case, nicely abstracting all these code paths into their own strategy.
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.

Implement Safe support for claiming Hypercerts
1 participant