Comments (1)
Since the difference between these trees is just their leaves, we could use the same tree for fixed deposits, rewards, and variable deposits and expose different functions for each leaf type as:
- Proving to know a
fixed amount
leaf and inserting anothervariable amount
leaf into the same tree - Proving to know a
variable amount
leaf and adding another 2variable amount
leaves into the same tree (or combining 2 leaves into one) -- (can be any number, not just 2) - Proving to know a
variable amount
leaf and withdrawing into some account
from anon.
Related Issues (20)
- Add caching speed-up to existing WASM Mixer implementation.
- Check poseidon parameters and re-generate them using hadeshash gitlab. HOT 1
- `Data` name conflict with polkadot change it to be `ScalarData`
- Fix CI build errors
- Update bulletproof-gadgets version and PoseidonBuilder uses across the repo
- Implement meta transactions and fee-less transactions
- Fix issues with recipient not being in circuit.
- Add index to deposit/insert event. HOT 2
- Explore merkle mountain range pallets
- extract `gadgets`, `crypto-constants` and `wasm-utils` into a seprate crates/repos HOT 4
- Build and store entire merkle trees for each merkle group or mixer.
- max_leaves of group tree looks incorrect HOT 1
- Add pedersen commitments to leaf commitments instead of only Poseidon HOT 1
- Generalise the mixer sizes as a trait parameter.
- Implement delayed withdrawal processing.
- Offchain worker implementation for fee-less transactions. HOT 1
- Spec the bridge gadget for pallet implementation.
- Benchmark storage of poseidon parameters in runtime storage to initialise hasher against current usage.
- Store PedersenGens and BulletproofGens in runtime storage and benchmark against creating on the fly.
- Integrate ORML-tokens and wrap native token into webbNATIVE (such as webbEDG).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anon.