This repository contains contract interfaces for various languages.
!!Important!!
State contract abi is stable, and in minor versions new functionality can be added. Meantime Onchain Resovler and Identity are not stable yet and ABI can be updated in minor versions of package.
jq
npm
Before running the ./generator
script, you need to clone the contracts repository or create a symlink to it:
ln -s $PATH_TO_CONTRACTS contracts
./generator
Method signature | Method id |
---|---|
IIdentifiable | 0x5d1ca631 |
INonMerklizedIssuer | 0x58874949 |
supportsInterface(bytes4) | 0x01ffc9a7 |
getUserCredentialIds(uint256) | 0x668d0bd4 |
getCredential(uint256,uint256) | 0x37c1d9ff |
getCredentialAdapterVersion() | 0x09cb9b62 |
Method signature | Method id |
---|---|
getZKPRequestsCount() | 0x6508e1b4 |
getZKPRequest(uint64) | 0xc76d0845 |
getZKPRequests(uint256,uint256) | 0x5f9e60d7 |
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.
Copyright 2023 0kims Association
This project is licensed under either of
at your option.
- install ide3/contracts
- run something like
typechain --target ethers-v6 --out-dir app/contracts './node_modules/neufund-contracts/build/contracts/*.json'
- think about how to generate types for go