feat: add GM-NET verifiable state anchoring#1
Open
Kqryptic wants to merge 2 commits into
Open
Conversation
Author
|
Hey @Gitlawb team (cc anyone reviewing contracts), Just following up on PR #1 for the gm-net bridge ( This adds support for Gitlawb DID owners to anchor their repo state roots directly into gm-net (the verifiable living database engine on Base via GraphMind v1.2). gm-net v1.1 is now live with:
The bridge keeps the integration minimal and gas-efficient. Happy to address any feedback, clarify the anchor flow, add tests, or adjust the interface. Let me know what you need to move this forward! Thanks, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the GitlawbStateAnchor contract, enabling a verifiable state layer for the Gitlawb protocol.
Overview
Gitlawb currently handles identity (DIDs) and governance (bounties). This integration bridges Gitlawb with GM-NET (the living database engine powered by @bankr), allowing DID owners to anchor their off-chain repository state roots directly on-chain.
Key Features
Technical Details
src/GitlawbStateAnchor.solanchorRepoState(string did, bytes32 stateRoot)GitlawbDIDRegistrybefore allowing anchors.This is the first step in turning Gitlawb into a fully verifiable, stateful decentralized git engine.
LFG.⚡🛡️