demergent-labs / multisig_vault Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The biggest problem here is how much quicker we will burn through cycles, since we'll be doing an update call essentially every second
Could be fun to have a configurable timelock
Here is what we need to do to feel comfortable with the first version of the Multisig:
We need to fix some things in Azle before being done with this section
demergent-daos
might be the highest-level components (both frontend and backend) that we want to maintain...multisig ICP vault, multisig NFT valut, multisig neuron, and SNS are all things we can have frontend components for, and the the multisigs can have a backend...we will need to modularize and componentize and generalize everything even further.
Just write a simple little command thing that sets up all of the automatically generated js/ts
There should also be some kind of indicator when loading...probably on the button
not sure this is really that important for now
Kind of want a black, grey, granite, etc color scheme
Should we make it a best practice to always surround mutations in a try catch? We need to ensure we never get into an inconsistent state?
Canisters need to be very careful when trapping, and I believe when an error is thrown in Boa then the canister will panic thus causing a trap. This could lead to inconsistent behavior if there have a been any cross-canister calls, as the state before the call will have been committed but not the state after the call.
For now I am doing all mutations after any cross-canister calls, so any uncaught errors should wipe clean, but we should be aware of this and possibly come up with best practices.
The Rust naming conventions are kind of nice, perhaps we should just use them everywhere in JS?
I am hoping this isn't necessary if we aren't using npm link azle, try to remove it once we are on a fixed version of Azle.
Whichever elements seem like they will be useful for other projects, make them completely modular
The step input is completely broken right now: SAP/ui5-webcomponents#5109
Don't forget stats and info for the frontend canister, that is very necessary as well
When signers and threshold change and there are open proposals, what should we do? For now I am not allowing signers or the threshold to be changed if there are open transfer proposals. As we continue to create more multisig applications, we should learn the most elegant way to handle this situation.
Also consider making a simple web component that anyone can pop in to show canister stats
Frontend and backend canisters should have controller information too
Any known error types we should actually display as nice messages to the user.
This table can have the canister principal, address, link to source code, binary hash, cycles balance, etc
Using a simple/robust state machine like Redux might really help us manage our state transitions
When the threshold changes, we should probably loop through all proposals and reevaluate them at that time, executing any that now should pass.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.