Skip to content
/ obce Public
forked from Supercolony-net/obce

Helpers crate to simplify ink! chain extension development

License

Notifications You must be signed in to change notification settings

Brushfam/obce

 
 

Repository files navigation

OpenBrush Chain Extension library

CI/CD

The library provides tools and primitives to simplify the development of chain extensions for ink! and Substrate.

OBCE automatically generates everything needed to correctly call chain extension from ink! smart contracts, and to correctly implement the chain extension itself on the Substrate side.

OBCE' macros automatically generate all the logic related to argument encoding/decoding, function and extension identifier calculation and error handling.

The ink! side of OBCE is fully automated, while with Substrate all that's left is to implement the chain extension using generated traits.

Tutorial

For a step-by-step guide on how to create your own Substrate node with a custom chain extension check the rand-extension example, which contains detailed instructions on the whole process.

Usage examples

About

Helpers crate to simplify ink! chain extension development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 97.0%
  • TypeScript 2.0%
  • Nix 1.0%