Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 591 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 591 Bytes

transfer-info

transfer-info implements a server for storing transfer information by blockchain transaction hash. The information in the transfer info should only be visible to the sender and the receiver.

Install

  1. Tested with Go 1.6
  2. Get levelDB go get github.com/syndtr/goleveldb/leveldb
  3. ./run-daemon.sh

Example

$> curl -X POST -d 'Hello world!' http://localhost:8000/7ab54344ab99f90caae7eaa18588b563b2c495286f90a34db2bf19368601e3d8
$> curl http://localhost:8000/7ab54344ab99f90caae7eaa18588b563b2c495286f90a34db2bf19368601e3d8
Hello world!