AraBlocks / ara-contracts

Blockchain interactions in Ara modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AFS Contract 'didPurchase' method

bplaster opened this issue · comments

Feature Request

Add method in AFS contract to check if user has purchased an AFS. This would be helpful for a quick (free) way to validate if a user has the right to download a piece of content. The only alternatives currently are iterating through a users library, or iterating through purchase events, which can be time consuming.