MeshJS / mesh

TypeScript open-source library to advance Web3 development on Cardano
https://meshjs.dev
Apache License 2.0
221 stars 65 forks source link

Add Affirmation Graph contract #362

Open kieransimkin opened 3 weeks ago

kieransimkin commented 3 weeks ago

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

Type of Change

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

vercel[bot] commented 3 weeks ago

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
vercel[bot] commented 3 weeks ago

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

A member of the Team first needs to authorize it.

HinsonSIDAN commented 3 weeks ago

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 commented 1 week ago

@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.