New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rarimo/evidence-registry

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rarimo/evidence-registry

[![npm](https://img.shields.io/npm/v/@rarimo/evidence-registry.svg)](https://www.npmjs.com/package/@rarimo/evidence-registry)

0.2.1
latest
npm
Version published
Maintainers
0
Created
Source

npm

ERC-7812 Reference Implementation

This EIP introduces an on-chain registry system for storing abstract statements, where the state of the system can be proven in zero knowledge without disclosing anything about these statements. Developers may use the singleton EvidenceRegistry contract to integrate custom business-specific registrars for statement processing and proving.

Link to the ERC-7812.

Usage

You will find Solidity smart contracts implementation in the contracts directory and Circom circuits in the circuits directory.

Install all the required dependencies:

npm install

The proper tests have been written for both the smart contracts and circuits leveraging hardhat-zkit.

To run the all the tests, execute:

npm run test-all

Deployment

The EvidenceRegistry is deployed via a deterministic factory to the address 0x781268D46a654D020922f115D75dd3D56D287812.

To reproduce the deployment on other chains, run npx hardhat compile && npx hardhat run ./scripts/deploy.ts --network <network>.

[!IMPORTANT] Do not modify the code, lint solidity files, or update compiler / hardhat settings as this will change the smart contracts bytecode.

Disclaimer

GLHF!

Keywords

solidity

FAQs

Package last updated on 20 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts