Add Affirmation Graph contract
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 - [X]
@meshsdk/contract - [ ]
@meshsdk/core - [ ]
@meshsdk/core-csl - [ ]
@meshsdk/core-cst - [ ]
@meshsdk/provider - [ ]
@meshsdk/react - [ ]
@meshsdk/transaction - [X]
@meshsdk/wallet - [ ] Mesh playground (i.e. https://meshjs.dev/)
- [ ] Mesh CLI
Type of Change
Please mark the relevant option(s) for your pull request:
- [X] 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)
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 |
@kieransimkin is attempting to deploy a commit to the MeshJS Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for your contribution! In order to add a mesh contract, a few more things have to be in place:
- [ ] The onchain code (
aiken-workspacethat compiles theplutus.json) - [ ] Hosted documentation - https://github.com/MeshJS/mesh/tree/main/apps/playground/src/pages/smart-contracts
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
@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.
Close due to inactivity