Re: Web Keys Demo Video - asset listing

On 02/11/2014 07:08 PM, Brent Shambaugh wrote:
> In the Web Keys Demo Video, where is the asset listing stored?
> 
> https://www.youtube.com/watch?v=S5WMkpoocSc

Asset listings are stored anywhere on the Web. Since they're digitally
signed, it doesn't matter where they're stored. They're completely
decentralized. The demo stores them on the PaySwarm listing service:

http://listings.dev.payswarm.com/

You can see where that happens in the code here:

https://github.com/digitalbazaar/payswarm.js/blob/master/examples/publish-asset-for-sale.js#L54

and here:

https://github.com/digitalbazaar/payswarm.js/blob/master/examples/publish-asset-for-sale.js#L64

and here:

https://github.com/digitalbazaar/payswarm.js/blob/master/examples/publish-asset-for-sale.js#L96

The asset and listing are uploaded to the site here:

https://github.com/digitalbazaar/payswarm.js/blob/master/examples/publish-asset-for-sale.js#L202

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Worlds First Web Payments Workshop
http://www.w3.org/2013/10/payments/

Received on Wednesday, 12 February 2014 01:35:40 UTC