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

Add Affirmation Graph contract #362

Open
wants to merge 2 commits into
base: aiken-affirmation-graph
Choose a base branch
from

Conversation

kieransimkin
Copy link

@kieransimkin kieransimkin commented Nov 5, 2024

This adds the Affirmation Graph contract to the contracts module. Affirmation graph is a CIP I've written which defines a mechanism for building true decentralized identity and trust without KYC.

In order to test this I also had to add the ability for the embedded wallet to sign with its stake key as well as its payment key.

The CIP is currently pending its number

As with the CIP - this is a first draft, and I will likely be making further additions and changes, so you probably just want to leave this PR open for now - I will definitely add more comments and documentation before it's ready for merge.

Affect components

Please indicate which part of the Mesh Repo

  • @meshsdk/common
  • @meshsdk/contract
  • @meshsdk/core
  • @meshsdk/core-csl
  • @meshsdk/core-cst
  • @meshsdk/provider
  • @meshsdk/react
  • @meshsdk/transaction
  • @meshsdk/wallet
  • Mesh playground (i.e. https://meshjs.dev/)
  • Mesh CLI

Type of Change

Please mark the relevant option(s) for your pull request:

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Bug fix (non-breaking change which fixes an issue)
  • Code refactoring (improving code quality without changing its behavior)
  • Documentation update (adding or updating documentation related to the project)

Also adds the ability for embedded wallet to sign with the stake key as well as the payment key.
Copy link

vercel bot commented Nov 5, 2024

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

Name Status Preview Comments Updated (UTC)
mesh-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 3:50am

Copy link

vercel bot commented Nov 5, 2024

@kieransimkin is attempting to deploy a commit to the MeshJS Team on Vercel.

A member of the Team first needs to authorize it.

@HinsonSIDAN
Copy link
Member

HinsonSIDAN commented Nov 5, 2024

Thank you for your contribution! In order to add a mesh contract, a few more things have to be in place:

If you want to proceed merging, please also build with those materials, we would the review and evaluate if that's understandable by community to put in the library

@jinglescode jinglescode changed the base branch from main to aiken-affirmation-graph November 6, 2024 01:11
@jinglescode
Copy link
Member

@kieransimkin very cool CIP. Follow up on the CIP discussion to check for further additions and changes. Once its finalized, we shall document it and educate why this exist, and how to use it.

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.

3 participants