https://github.com/weavevm/wvm-lassie
https://github.com/weavevm/wvm-lassie
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/weavevm/wvm-lassie
- Owner: weaveVM
- License: mit
- Created: 2025-02-16T11:21:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-18T11:49:36.000Z (over 1 year ago)
- Last Synced: 2025-02-18T12:25:14.248Z (over 1 year ago)
- Language: Rust
- Size: 73.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
`wvm-lassie` is an IPFS/Filecoin data importer to WeaveVM -- make your Filecoin data live forever.
This tool provides a simple ETL to retrieve content from the Filecoin network using CIDs. It spin up a [Lassie daemon](https://github.com/CheckerNetwork/rusty-lassie) for each retrieval request, downloads the content of the CAR file, and then retrieve the IPLD blocks. Then, data is loaded to WeaveVM tagged with `application/octet-stream` MIME type.
### Key concepts
- **CID**: Content Identifiers are unique identifiers for content in the Filecoin/IPFS network.
- **CAR**: Content Addressable aRchives are a format for storing IPLD data.
- **IPLD**: InterPlanetary Linked Data is the data model used by IPFS and Filecoin.
## REST API
### Import cid
- API endpoint: [lassie.wvm.network](https://lassie.wvm.network)
```bash
GET /import/:cid
```
#### Response
```rust
pub struct ImportCid {
pub wvm_bundle_txid: String,
pub data: Vec,
}
```
## License
This project is license under the [MIT License](./LICENSE)