Skip to content

gear-tech/awesome-sails

Repository files navigation

Awesome Sails

Note: Built using the Sails framework. It is highly recommended to study the Sails Documentation before using this crate.

Awesome Sails is a comprehensive collection of production-ready services and utilities designed for building decentralized applications (dApps) on the Gear Protocol using the Sails Framework. It provides a modular suite of libraries ranging from core token standards to access control and administrative tools. Services such as vft-admin and vft-extension are designed to seamlessly extend the core vft service, allowing developers to compose functionality as needed.

Modules

The workspace is organized into the following components:

  • Utils: Foundational utilities, math helpers, and common patterns.
  • Storage: Storage abstractions and traits for different backends.
  • Access Control: A flexible Role-Based Access Control (RBAC) system.
  • VFT: Implementation of the Vara Fungible Token (VFT) standard (ERC-20 analogous).
  • VFT Admin: Administrative extensions for VFT (minting, burning, pausing).
  • VFT Extension: Extended VFT functionalities (transfer all, cleanup, enumeration).
  • VFT Metadata: Metadata storage for VFTs.
  • VFT Native Exchange: Native token to VFT exchange mechanism.
  • VFT Native Exchange Admin: Administrative tools for the native exchange service.
  • Message Tracker: Asynchronous message status tracking and management.
  • Benchmarks: A suite for measuring gas consumption and performance metrics.

Usage

You can use individual crates by adding them to your Cargo.toml, or use the Awesome Sails Pack meta-crate to access multiple services with feature flags.

[dependencies]
awesome-sails = { version = "x.y.z", features = ["all"] }

Refer to the individual README files linked above for detailed installation and usage instructions.

About

Collection of reusable `sails` services for building custom programs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages