acceptFactory
@totemsdk/omnia-factory / acceptFactory
Function: acceptFactory()
acceptFactory(
factory,bundle):Promise<ChannelFactory>
Counterparty co-signs the factory proposal.
Each non-proposing participant calls this once. When ALL N parties have
signed (proposer via createFactory + N-1 counterparties via acceptFactory),
the factory transitions from 'opening' to 'active'.
Uses the full WOTS lease cycle: reserve → sign → verify → commit.
Parameters
factory
Factory in 'opening' status returned by createFactory.
bundle
Returns
Promise<ChannelFactory>