Skip to content
Trustless escrow for digital data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/tredd
testdata
.gitignore
LICENSE
Readme.md
Try.md
Why.md
chunk.go
contract.go
contract_test.go
decrypt.go
doc.go
get.go
go.mod
go.sum
serve.go
tredd_test.go
tx.go
tx_test.go
utxo.go
utxo_test.go

Readme.md

TREDD - Trustless escrow for digital data

This is Tredd, a software library that allows a buyer and a seller of some information to exchange payment for data securely.

It relies on the TxVM blockchain and includes a demonstration client and server (in cmd/tredd).

A buyer sends a request for some content to a seller. The seller responds with an encrypted copy of the content. The buyer sends a partial blockchain transaction to the seller, containing payment for the content. The seller completes the partial transaction and publishes it to the blockchain. The completed transaction reveals the decryption key, which the buyer uses to decrypt the content. The buyer has a way to claim a refund if the key fails to produce the promised content.

For more information, see this detailed explanation of Tredd’s design and operation.

(There is also an appendix.)

For the motivation behind Tredd, see Why Tredd.

For step-by-step instructions for running the Tredd server and client, see Trying Tredd.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.