@unirep/contracts
Client library for contracts related functions which are used in UniRep protocol.
๐ Install
npm or yarn
npm i @unirep/contractsyarn add @unirep/contracts๐ฉ๐ปโโ๏ธ Haven't deployed a contract yet?
Get circuit keys from one of the following methods
git clone https://github.com/Unirep/Unirep.git && \
cd Unirep/ && \
yarn install && \
yarn buildCompile contracts from the keys
๐๐ปโโ๏ธ Unirep contract has been compiled
Deploy Unirep contract
Get unirep contract with address
๐ง๐ปโ๐ป Call Unirep contract with ethers
ethers๐๐ปโโ๏ธ Call Unirep contract in DApps
๐ Other usages
Proofs
Attestation
Event/ Attestation event
Last updated