New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First-class integration with Arweave #151
Comments
|
I'd love to get input on this from the core team. @alexcos20 @kremalicious @mihaisc @trentmc Am I on the right track? |
|
When I spoke with Sam from Arweave he mentioned that arweave.net was a reliable gateway. Here is the repo from Arweave for setting up an arweave gateway. https://github.com/ArweaveTeam/gateway |
|
Based on feedback in Ocean Protocol Discord #core-tech channel, I realized some publishers may not want to reveal that their files are stored in decentralized storage like Arweave. In light of this, I decided not to change the For posterity, here is the original PR description. I've updated the issue description to show the updated design.
|
|
Taking a quick glance it looks ok from a market point of view. Just to make sure i understand correct, in the market we just need the a transaction id and then the provider does the magic |
Thanks for taking a look @mihaisc! Yes, you're correct. |



Is your feature request related to a problem? Please describe
There is a desire for first-class integration with Arweave, as stated by the OceanDAO Round 18 Tech Earmarks
The desired solution is further elaborated by the OceanDAO Tech Tributes
Describe the solution you'd like
I propose we:
arweavefile type.When publishing an asset:
On the publish/2 screen, under File, the user selects "+ From Arweave" similar to how the file form field looked in Ocean Commons. (text is red for visibility in the screenshot. Actual implementation would match existing market color pallet and fonts)

The user inputs the Arweave transaction ID instead of the File URL.
To verify, the Ocean Market calls the Provider
fileinfoendpoint. The Provider verifies the transaction id by submitting a query to a new envvar calledARWEAVE_GATEWAY.ARWEAVE_GATEWAYcould behttps://arweave.net, the Arweave gateway operated by the Arweave core team.DDO Spec
To support Arweave files, I propose we add a new file type
Describe alternatives you've considered
Arweavelabel even if the asset wasn't stored in Arweave.Additional context
Other discussions about integrating decentralized storage
The text was updated successfully, but these errors were encountered: