dcSpark / cardano-multiplatform-lib

Rust implementation of Cardano
MIT License
98 stars 36 forks source link

Blockfrost crates #313

Open rooooooooob opened 8 months ago

rooooooooob commented 8 months ago

Rust and WASM crates for creating tx builders from blockfrost.

The rust crate can be directly used with the blockfrost crate when the feature direct_api is enabled. If it is not then various parsing ability is still exposed for cost models.

The WASM crate due to technical restrictions just exposes an endpoint that takes in the response JSON and creates the config.

the cml/wasm crate exports this new cml-blockfrost-wasm functionality which only increased compiled size from 896kb -> 911kb so should be fine to include by default.

TODO: some documentation but this would conflict with #307's documentation update so can be done at a later date.