Comments (2)
proof-of-existence
This application is made as a reference case on how to use the rivine api.
With this tool, its possible to register files on a rivine chain that will proof that a registerd file is made before a certain timestamp.
Application tasks:
Generate proof of existence for a given file
- Give a file, can be a compression of different files.
- Hash the file with ex. B2B
- Ask a transaction builder node for a prepared transaction.
- Add some fee to it (depending on how fast you want it to be added) and append the hash to that transaction.
- Sign that transaction.
- Send it to some transaction builder nodes.
- In a transaction builder node this transaction should then be added to a block that can be the valid one.
- Make sure to tell the customer to save the file in the format used as an input! This can be done by making the file publicly available if this is the purpose or be saved securly in a hidden place. Losing the original document will fail to proof existence in futere!
Check if given file is included
- Give a file
- Hash the file the same way
- Check if there exist a transaction with the calculated hash as extra info.
- If not found, the file is not in this blockchain (yet)
- If the hash is found, the blockdepth is calculated (the difference between the current blocktheight of the blockchain and the blockheight of the block of the found transaction) to give the "robustness"
from rivine.
Will this be added as a tutorial, such that anyone could easily fire up a daemon and a client, to play around with Rivine? Perhaps we'll have more pragmatic tutorials in the future, but this would be a great start, as we have nothing of its kind for now.
from rivine.
Related Issues (20)
- R&D explorer HA load balancing solution that works for all rivine-based chains HOT 15
- provide GraphQL explorer module for rivine (shorthand: q) HOT 20
- R&D if we can use storm to enhance our performance of Rivine's boltDB usage HOT 1
- R&D wallet module design and possible refactor HOT 1
- Stop block creators from knowingly creating blocks in the past HOT 4
- research dragonchain HOT 1
- Research how a rivine private key can be used in Stellar HOT 3
- better algorithm for output selection required HOT 12
- Front caddy proxy failover
- rivinecg generate blockchain fails HOT 4
- rivinecg: default generated client does not compile HOT 3
- travis no longer executes go tests HOT 1
- research cardano HOT 1
- Make rivine available as a go module
- review block structure HOT 2
- Implement a better reference output selection
- travis fails on the examples/rivchain job
- Convert rivine/research/stellar/examples to python HOT 2
- Convert rivine/research/stellar/examples to other javascript HOT 2
- authcoin extension by default authorized using the reverse property does not work HOT 1
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 rivine.