@symbiosis-finance/sdk-tracker
v0.0.5
Published
Symbiosis on-chain cross-chain transaction tracking — waiters that watch EVM/TON/BTC/Tron/ChainFlip/ThorChain until a cross-chain operation completes.
Readme
@symbiosis/sdk-tracker
On-chain cross-chain transaction tracking for Symbiosis: given a source transaction, its waiters watch the relevant chains (EVM, TON, BTC, Tron, ChainFlip, ThorChain) until the cross-chain operation completes.
Unlike @symbiosis/sdk-types (web3-light), this package does depend on heavy chain libraries (ethers, tronweb, @ton/*, @chainflip/sdk), so the client should lazy-load it via dynamic import() to keep those out of the initial bundle.
Layout (src/)
waitForComplete/— the public waiters:waitForCompleteplus per-rail trackers (waitForChainFlipSwap,waitForThorChainTx,waitForBtcDepositAccepted,waitFromTonTxMined,waitForIntentSolved,waitForDepositUnlocked, …) and their result types.contracts/— TypeChain bindings & factories (Bridge,Portal,Synthesis,IDepository,SymBtc, intents) used to read on-chain state.chainUtils/— low-level chain helpers (evm,tron).api/— external status API clients (ThorChain).TrackerContext.ts— the structural interface the waiters run against (providers, configs, contract factories), keeping the package decoupled from the app/API'sSymbiosisclass — the consumer wires it up.index.ts— public barrel.
