kadena-io / juno

Smart Contracts Running on a BFT Hardened Raft
BSD 3-Clause "New" or "Revised" License
453 stars 53 forks source link

API transfer demo #23

Closed libby closed 8 years ago

libby commented 8 years ago

Added ability to optionally store data submitted with a Program. The data can be retrieved via the RequestId: CommandInputQuery RequestId. Added endpoint /api/juno/v1/transfer for specified JSON: { "payload": { "transfer": "acctFrom" : "000" "acctTo" : "000" "amount" : 230.00" "currency" : "USD" , "data": { "mtmessage": "{data to save}"} } }

sirlensalot commented 8 years ago

Build is actually broken (test file), so that needs fixing

sirlensalot commented 8 years ago

OK review done. Nice work on the parsers in the API stuff btw, I didn't get a chance to look at it after you did that. Muuucho mejor :)

libby commented 8 years ago

Thanks for the feedback!