GithubHelp home page GithubHelp logo

pandres95 / sube Goto Github PK

View Code? Open in Web Editor NEW

This project forked from virto-network/virto-sdk

0.0 0.0 0.0 104 KB

SUBmit Extrinsics to a Substrate chain

License: Apache License 2.0

Rust 98.68% Makefile 1.32%

sube's Introduction

Sube

A client library and CLI for Substrate chains, doing less by design than subxt with a big focus on size and portability so it can run in constrainted environments like the browser.

Making use of the type information in a chain's metadata(>= v14) and powered by our Scales library, Sube allows automatic conversion between the SCALE binary format used by the blockchain with a human-readable representation like JSON without having to hardcode type information for each network. When submitting extrinsics Sube only does that, it's your responsability to sign the payload with a different tool first(e.g. libwallet) before you feed the extrinsic data to the library.

Sube supports multiple backends under different feature flags like http, http-web or ws/wss, with future support for a smoldot based light-node.

Cli

For convenience Sube is also a stand-alone cli.

asciicast

Progressive decentralization

๐Ÿ› ๏ธ โš ๏ธ Upcoming feature

The true raison d'etre of Sube is not to create yet another Substrate client but to enable the Virto.Network and any project in the ecosystem to reach a broader audience of end-users and developers by lowering the technical entry barrier and drasticaly improving the overal user experience of interacting with blockchains. We call it progressive decentralization.

When paired with our plugin runtime Valor, Sube can be exposed as an HTTP API that runs both in the server and the browser and be composed with other plugins to create higher level APIs that a client aplication can use from any plattform thanks to the ubiquitousness of HTTP. We imagine existing centralized projects easily integrating with Substrate blockchains in the server with the option to progressively migrate to a decentralized set-up with whole backends later running in the user device(web browser included).
But progressive decentralization goes beyond the migration of a centralized project, it's rather about giving users the the best experience by possibly combining the best of both worlds. A Sube powered application can start being served from a server to have an immediate response and 0 start-up time and since plugins can be hot-swapped, the blockchain backend can be switched from HTTP to lightnode transparently without the application code ever realizing, giving our users with bad connectivity and slower devices the opportunity to enjoy the best possible user experience without compromizing decentralization.

sube's People

Contributors

olanod avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.