project screenshot 1
project screenshot 2
project screenshot 3

sdk-rust

This is a fork of the rust sdk of the blockless protocol. With the implementation of new native features that are missing in the sdk which streamline the development process for the rust devs on the blockless network.

sdk-rust

Created At

ETHOnline 2024

Project Description

Problem: When I began exploring what I could build on the Blockless network, I noticed that there were a few features missing in the Rust SDK, which prevented me from using it to its fullest extent. Additionally, while trying out the features, I realized that there was a lack of documentation for the Rust SDK to facilitate my development. Instead, I had to comb through the actual source code of the SDK to see which functions and structs were available. This process was quite cumbersome.

How it's Made

Solution: While rewriting the code examples from AssemblyScript, I encountered a dead end when I realized there was no native support for IPFS and AWS extensions in the SDK. I then began investigating how existing features, like the HTTP extension, were implemented in the SDK. Through this, I discovered that the SDK was calling functions defined externally in the BLS runtime. Gradually, I pieced together how the SDK's internals interacted with the runtime.

          Using the function definitions and existing features as references, I proceeded to implement the missing features in the SDK. After completing the implementation, I wrote examples to help developers understand how to use these new features more easily. Finally, I added concise documentation detailing the features provided by the SDK.
background image mobile

Join the mailing list

Get the latest news and updates