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

CAR file generation in JS/TS #9

Open
longfeiWan9 opened this issue Oct 14, 2024 · 3 comments
Open

CAR file generation in JS/TS #9

longfeiWan9 opened this issue Oct 14, 2024 · 3 comments
Labels
M2 stretch goal before Dec

Comments

@longfeiWan9
Copy link

Currently, the demo also using CLI command to generate CAR for files. (e.g. code is here).

It is not a practical example for our integration patterns. So we need to consider to implement that process in JavaScript or TypeScript.

@lordshashank
Copy link

@longfeiWan9 car generation is easy, one can do the go implementation directly as in CLI, we did it in @Eastore-project 's fildeal cli here https://github.com/Eastore-project/fildeal/blob/master/src/deal/utils/generateCar.go, maybe it helps.

@longfeiWan9
Copy link
Author

Thanks @lordshashank. I am thinking for the general use case, dApps are going to upload data from the front-end most likely. So car generation will probably need to be done in JavaScript or Typescript instead of Go.

@snissn
Copy link

snissn commented Oct 15, 2024

https://github.com/FIL-Builders/filecoin-car-app

I created a hyper simple web app that generates car files in javascript for us to extend.

We should figure out what web app starter kit we want to use but this will be easily pluggable into whatever we do https://github.com/FIL-Builders/filecoin-car-app

@longfeiWan9 longfeiWan9 added the M2 stretch goal before Dec label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M2 stretch goal before Dec
Projects
None yet
Development

No branches or pull requests

3 participants