Giter VIP home page Giter VIP logo

substrate-subxt's Introduction

subxt · build Latest Version Documentation

A library to submit extrinsics to a substrate node via RPC.

Usage

See examples.

Integration Testing

Most tests require a running substrate node to communicate with. This is done by spawning an instance of the substrate node per test. It requires an executable binary substrate at v3.0.0 on your path.

This can be done by downloading the prebuilt binary:

curl "https://releases.parity.io/substrate/x86_64-debian:stretch/v3.0.0/substrate/substrate" --output substrate --location
chmod +x ./substrate
mv substrate ~/.local/bin

Or installed from source via cargo:

cargo install --git https://github.com/paritytech/substrate node-cli --tag=v3.0.0 --force

Alternatives

substrate-api-client provides similar functionality.

Subxt Client

By default the client builder will connect to a full node via rpc. The subxt-client helps embedding a light client directly. It can also be used to embed a full node. This is especially useful for testing and ci.

License

The entire code within this repository is licensed under the GPLv3. Please contact us if you have questions about the licensing of our products.

substrate-subxt's People

Contributors

4meta5 avatar ascjones avatar c410-f3r avatar demi-marie avatar demimarie avatar dvc94ch avatar dvdplm avatar emostov avatar en avatar enfipy avatar gregdhill avatar h4x3rotab avatar hewigovens avatar insipx avatar jasl avatar koushiro avatar liuchengxu avatar maciejhirsz avatar miketang84 avatar niklasad1 avatar robbepop avatar satoshi-kusumoto avatar thiolliere avatar tovarishfin avatar whalelephant avatar

Watchers

 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.