semaphore-protocol / semaphore

A zero-knowledge protocol for anonymous interactions.
https://semaphore.pse.dev
MIT License
887 stars 194 forks source link

Add the deployed contracts to the utils package #715

Closed vplasencia closed 5 months ago

vplasencia commented 5 months ago

Description

Add the deployed contracts to the Semaphore utils package so that other packages and projects can access this info.

The idea is to create a json file with the network's info (chain id, etc.) and the deployed contract addresses. The supported-networks.ts would import that json file and export it as a js object.

Deployed contracts json file: https://github.com/semaphore-protocol/semaphore/blob/main/packages/contracts/deployed-contracts.json