Blockless-sdk-rust

How to build
-
Install the rust with rustup, please visit the site 'https://rustup.rs/'.
-
Use follow command for build the project.
HTTP example
use *;
use json;
Install from crates.io
Examples
Examples are in the examples directory.
Coingecko Oracle
# Build example
# Run example with blockless runtime
|
HTTP
# Build example
# Run example with blockless runtime
LLM-MCP
# Build example
# Run example with blockless runtime and tool servers running
# Make sure you have the tool servers running on ports 3001 and 3002
Examples list
| Example | Description | Browser runtime support | Native runtime support |
|---|---|---|---|
| coingecko_oracle | Coingecko Oracle to query price of bitcoin from coingecko | ✅ | ✅ |
| httpbin | HTTP to query anything from httpbin | ✅ | ✅ |
| llm | LLM to chat with Llama-3.1-8B-Instruct-q4f32_1-MLC and SmolLM2-1.7B-Instruct-q4f16_1-MLC models |
✅ | ✅ |
| llm-mcp | LLM with MCP (Model Control Protocol) demonstrating tool integration using SSE endpoints | ✅ | ❌ |