There are two invariant types of transactions in the Apophis SDK:Documentation Index
Fetch the complete documentation index at: https://docs.kiruse.dev/llms.txt
Use this file to discover all available pages before exploring further.
CosmosTxis the fundamental transaction type for all transactions in Cosmos, includingCosmosTxSignal, which wraps aCosmosTxinto multiple signals specialized for use in a GUI.
CosmosTx
TODOCosmosTxSignal
ACosmosTxSignal is an invariant that wraps a CosmosTx with various signals for use in a GUI.
Unlike the regular CosmosTx, this invariant takes a signal of messages, and automatically updates
and re-estimates the gas of the transaction when the messages change. It also periodically refreshes
the estimage to account for changes in the state of the blockchain while the user is still
contemplating their transaction.
The following example demonstrates the use of the Cosmos.signalTx factory method using Preact as
its frontend framework:
cosmos-gas-estimate component is a custom element from the complementary
Cosmos Components library.