# zkp proof-of-membership SDK

We use zero-knowledge proofs to provide the proof-of-membership for [private communities](https://vself-project.gitbook.io/vself-project-documentation/community-management-toolkit/private-community) in the community toolkit.&#x20;

For integration of the proof-of-membership toolkit based on zero-knowledge proofs into partner's platforms, we provide a VSELF JS SDK written in[ Rust](https://www.rust-lang.org/) and delivered as [npm package](https://www.npmjs.com/package/@vself_project/shared-utils).&#x20;

The package's main functions :

* Get commitment: allows user to calculate her commitment using NEAR id and membership key
* Get proof: allows member to get the proof-of-membership
* Verify proof: allows everyone to verify the given proof-of-membership

Partners can use our on-chain solution based on [Social DB](https://github.com/NearSocial/social-db/) as a storage for commitments or apply any custom solution. &#x20;

The description of the zero-knowledge proofs for proof-of-membership is available [here.](https://vself-project.gitbook.io/vself-project-documentation/community-management-toolkit/private-community)
