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

expose the create msig alias component #146

Merged
merged 3 commits into from Jul 24, 2023
Merged

expose the create msig alias component #146

merged 3 commits into from Jul 24, 2023

Conversation

Ayagoumi
Copy link

@Ayagoumi Ayagoumi commented Jul 20, 2023

This PR introduces exposes the functionality of allowing users to create a new multi-signature alias on the P-Chain in the suite application.

Key Features:

Naming the multi-signature alias (memo): Users are able to name their multi-signature alias for better identification and management.

Adding multi-signature owners: This feature enables the addition of multiple owners to a singleton wallet.

Setting the threshold: Users can set a threshold to determine the minimum number of signatures needed to validate and process the transactions.

Screenshot 2023-07-24 at 18 36 54

Additionally, this PR also handles error scenarios, including the following:

If the name of the multi-signature alias is too long (beyond 64 bytes)
If the number of owners is not sufficient or exceeds 128
If the threshold set exceeds the number of wallet owners
If the owner's wallet isn't a single wallet P-Chain Address

Screenshot 2023-07-24 at 18 37 54

@Ayagoumi Ayagoumi requested a review from aeddaqqa July 24, 2023 18:50
@aeddaqqa aeddaqqa merged commit 89a14ce into suite Jul 24, 2023
4 checks passed
@aeddaqqa aeddaqqa deleted the create-msig-alias branch July 24, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants