Ya-wen, Jeng
Ya-wen, Jeng
Major changes - add `publishPost`, `leaveComment`, `upVote` and `downVote` functions - separate `proveReputation` and `proveReputationFromAttester` - use `reputationNullifier` to prevent double spending of reputation - `GSTLeaf = hash5(idCommitment, userStateRoot, transitionedPosRep,...
- solution to #109 it can be published to testflight and generate a proof - it uses the [wasm3](https://github.com/wasm3/wasm3-rs) and [circom-compat-wasm3](https://github.com/vivianjeng/circom-compat-wasm3) - **Pros:** - Minimal mopro code base changed -...
## Problem Previously we use ark-zkey to decrease zkey size and loading time [ark-zkey](https://github.com/zkmopro/mopro/tree/main/ark-zkey) But then we use `new_unchecked` to fix circom-compat zkey loading time https://github.com/zkmopro/mopro/issues/25#issuecomment-2067880755 and ark-zkey serialization/deserialization is...
Research for #65 ## TODO - [ ] use `#[cfg(feature = "use_external_zkey")]` to control features - [x] download and load arkzkey in `initializeMopro` (See 3.) - [ ] download file...
## Problem Now the `generate_proof` in mopro-ffi doesn't support 254-bit inputs/outputs (which is the snark scalar field in bn254) https://github.com/oskarth/mopro/blob/018bb1e3075d6f75f5e8edf0037bceff3f62bfbf/mopro-ffi/src/lib.rs#L66-L69 ## Notes The acceptable types are listed here: https://mozilla.github.io/uniffi-rs/udl/builtin_types.html We...
## Pull request checklist Please check if your PR fulfills the following requirements: - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs...
User can have his db to store related data e.g. | data | type | description | | --| --| -- | | `attesterId` | String | the attester ID...
## Pull request checklist Please check if your PR fulfills the following requirements: - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs...
Add more unit tests to test through the functions (for example/voting, the test is in @unirep/core, and it can have more unit tests to throw errors) See current coverage: https://contracts-coverage.unirep.io/
we can output a circuit template (or/and a type) for other packages to use For example ```ts const epochKeyCircuitInputs = { state_tree_elements: Array(STATE_TREE_DEPTH).fill(0), state_tree_indices: Array(STATE_TREE_DEPTH).fill(0), identity_secret: 0, data: Array(FIELD_COUNT).fill(0), sig_data:...