What problem does it solve?
This Skill eliminates the common errors Sails program builders face when calling Gear/Vara runtime builtin actors (such as staking, BLS12-381, proxy, and ETH bridge), including incorrect ActorId usage, failed reply decoding, insufficient gas allocation, and ED rule violations that cause transactions to fail.
Core Features & Use Cases
- Correct Builtin Call Workflow: Provides step-by-step guidance for deriving valid builtin ActorIds, encoding requests with gbuiltin-* helper crates, and decoding builtin replies without relying on Sails IDL routing.
- Gas and ED Budgeting: Covers proper gas allocation against builtin max gas weights and Existential Deposit (ED) rules for value transfers to builtin actors.
- Use Case: For example, if you are adding staking functionality to a Sails DeFi app, this Skill guides you to implement the call correctly, handle gas costs, and decode staking responses without runtime errors.
Quick Start
Use the gear-builtin-actors skill to add a staking feature to your Sails app that correctly calls the runtime staking builtin, budgets gas appropriately, and decodes the builtin's response.