Skip to content
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

Suggestion: Separate arfs and ardrive-core-js -libs #75

Open
Silanael opened this issue Oct 9, 2021 · 0 comments
Open

Suggestion: Separate arfs and ardrive-core-js -libs #75

Silanael opened this issue Oct 9, 2021 · 0 comments
Assignees
Labels
Enhancement New feature or request

Comments

@Silanael
Copy link

Silanael commented Oct 9, 2021

It would be nice to have a properly established API to allow easy interaction with ArDrive for external developers.

Upon moving towards this goal, I would suggest to separate the current ardrive-core-js into two libraries:
One that would contain the absolute essentials to interact with ArFS without database management, while the other one would be a base library for the ArDrive's official application suite, essentially what current ardrive-core-js is.

This suggestion stems from my own experience of using ardrive-core-js - an utility I wrote had no need for database or even a concept of a user, yet I found that most of the functions in the lib required these to be present (I got around this by creating a dummy user, kinda dirty hack).

The arfs-lib would contain functions to create, upload, download and interpret ArFS-compatible transactions and the metadata .json that would operate on TXIDs, File-IDs etc. alone, leaving the user/database management-aspect to the developer to implement in their own way.

ardrive-core-js would be a more comprehensive suite for building applications with ArDrive-support, focusing on ease of use and a standardized way of doing things.

Just something to consider.

@agsuy agsuy added the Under asessment We are assessing this issue label Oct 13, 2021
@agsuy agsuy added enhancement and removed Under asessment We are assessing this issue labels Oct 14, 2021
@agsuy agsuy added Enhancement New feature or request and removed enhancement labels Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants