nextdotid / kv_server Goto Github PK
View Code? Open in Web Editor NEWKVService: storage for each ProofService entity.
Home Page: https://docs.next.id
KVService: storage for each ProofService entity.
Home Page: https://docs.next.id
KVService is a Zero-Trust Key-Value storage space for any user who has an elliptic curve-based asymmetric key pair (aka Avatar.
It is designed as a git
-like patch chain, so there is a possibility to implement a revert
function, which allows the user to undo a specific change he/she has accidentally made before.
revert
action should also be a link in the patch chain, and should be signed by the user’s Avatar.revert
is done, the entire KV
state from the beginning of the KVChain
should be updated.Have a look at ProofService’s Proof Chain to help you understand this chain structure.
Modify model/kv_chains
(the place to store the whole chain), model/kv
(snapshot of a chain’s final status) and /controller
to add a action
field with possible values create
and revert
.
And correctly handles action: revert
request.
Don’t forget to write unit tests.
Nyk Ma @nykma
175h
Easy
We need to draft a common standard (like common.favorite
) for all third-party users to build a common, cross-user favorite list.
Should allow passkey (binded with ProofService Avatar) sign a patch and store under this Avatar namespace.
Related to NextDotID/proof_server#94
KVService is a Zero-Trust Key-Value storage space for all users who has a elliptic curve based asymmetric keypair (aka Avatar.
It is designed as a git
-like patch chain, each link on the chain is created and signed by user, so any third-party cannot modify / falsify it.
Currently we’ve impl it in a zero-trust way, but we still want to make it more decentralized, more neutral, by putting user’s link onto a storage provider like Arweave.
By uploading all KVChain
onto Arweave, we can reach more usability and data transparency improvement.
worker
to do async upload job.Nyk Ma @nykma
175h
Medium
Since KVServer is designed as a git
-like patch chain, there is an ability to implement a revert
function which allows user to revert a specific change made accidentally by user himself before.
revert
(or delete
?)Revert
is made, rebuild the whole KV status from scratch.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.