Faktur
Smart contract component of the trusted timestamping faktur system
Install / Use
/learn @Magicking/FakturREADME
Faktur
A simple tool to timestamp data and relay them to somewhere.
Smart contract component.
Donation:
BTC: 1MYiMU3GfsgEP4EYHHonG9Fy6DkA1JC3B5
ETH: 0xc8f8371BDd6FB64388F0D65F43A0040926Ee38be
Description
When new a new files on backend appears:
- A pre-receipt is created
- The file is sent to delivrery
- The file to files queue
When time is due:
- Anchor every files in queue
- Publish new receipts
- Send result with alert
Receipt
The pre-receipt emission open a challenge period based on the Smart Contract SLA(TODO). The client should check the validity of the receipt (Smart Contract funcion)
The pre-receipt can't be challenged for N period.
After N period, the pre-receipt if submitted on-chain can open a challenge for the oracle to prove that it timestamped the hash correctly.
To cancel the challenge the oracle submit the audit path on-chain, keeping the funds if provided.
After N+X period, the pre-receipt won't be challengeable anymore and is put to removal.
Verify by calling either VerifyRFC6962 or VerifyMerkleHash Smart Contract audit function.
Verification algorithm
- [x] rfc6962 "Certificate transparency"
- [x] Merkle Tree (Chainpoint 2.1, deprecated)
