Sorry for the ambiguous question, I’ll try to make it as simple as possible:
Use Case: Alice wants to buy virtual item from Bob. Alice starts by having a smart contract lock her funds until Bob transfers the item. Since the virtual item is being traded on an off-chain marketplace, a third party (like a decentralized oracle network) confirms the trade and transfers the funds to Bob. If the trade doesn’t happen, Alice receives her money back and Bob might get penalized for failing to trade.
Summary
So basically like an atomic swap for off-chain marketplaces.
Question1 : Is a single contract enough to express this functionality? There’s also the option to create one smart contract PER trade, but that would increase costs a lot.
Question2 : Are there any good resources on integrating chainlink into algorand?
